0.0.4 • Published 5 years ago

srp-library-app v0.0.4

Weekly downloads
5
License
-
Repository
-
Last release
5 years ago

SrpLibraryApp

This project was generated with Angular CLI version 7.0.4. following instructions at: https://blog.angularindepth.com/creating-a-library-in-angular-6-87799552e7e5 library components prefixed with: srpl (SRP Library)

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component for the EXAMPLE APP. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Run ng generate component component-name --project=srp-library to generate a new component in the LIBRARY. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project=srp-library.

Build Example App

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Build Library

Run npm run build_lib to build the library. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Package Library

Run npm run npm_pack to package Library into single tgz file.

Build and Package Library

Run npm run package builds then packages Library into single tgz file.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.