ng-startrek-comp
v0.0.1
Published
Only testing how to publish Angular own library to NpmJS
Downloads
6
Readme
NgStartrekComp
This library was generated with Angular CLI version 9.1.12.
Code scaffolding
Run ng generate component component-name --project ng-startrek-comp
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project ng-startrek-comp
.
Note: Don't forget to add
--project ng-startrek-comp
or else it will be added to the default project in yourangular.json
file.
Build
Run ng build ng-startrek-comp
to build the project. The build artifacts will be stored in the dist/
directory.
Publishing
After building your library with ng build ng-startrek-comp
, go to the dist folder cd dist/ng-startrek-comp
and run npm publish
.
Running unit tests
Run ng test ng-startrek-comp
to execute the unit tests via Karma.
Further help
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.