Skeleton

Base skeleton library

The package was generated by the library skeletonarrow-up-right which was generated with Angular CLIarrow-up-right version 13.

Copy package to the packages/range folder of the library skeletonarrow-up-right then run the commands below.

Code scaffolding

Run ng generate component component-name --project range to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project range.

Note: Don't forget to add --project range or else it will be added to the default project in your angular.json file.

Build

Run ng build range to build the project. The build artifacts will be stored in the dist/range directory.

Publishing

After building your library with ng build range, go to the dist folder cd dist/range and run npm publish.

Running unit tests

Before the test can be performed install @angular-package/testingarrow-up-right and @angular-package/typearrow-up-right with command:

npm i @angular-package/testing @angular-package/type --no-save

Run ng test range to execute the unit tests via Karmaarrow-up-right.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Referencearrow-up-right page.

Last updated