1.0.1 • Published 5 years ago

ng-project-utils v1.0.1

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

AngularProjectUtils

This project was generated with Angular CLI version 6.0.8.

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. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run npm run packagr to pack the project. The build artifacts will be stored in the dist/ directory. Copy the folder src/app/lib/assets inside /dist/app/lib/ and then run npm pack this will create a tgz file angular-project-utils-[~version*~].tgz inside a dist/ folder.

Install

To install the lib in a project run npm install [~path to tgz file~]/angular-project-utils-[~version*~].tgz && npm start. Or use npm repository https://www.npmjs.com/package/angular-project-utils

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.