xscam
v1.0.1
Published
This library provides some schematics to generate elements accordingly to the [SCAM](https://sandroroth.com/blog/angular-shared-scam) principle.
Downloads
23
Maintainers
Readme
XScam
This library provides some schematics to generate elements accordingly to the SCAM principle.
Installation
Run npm i -D xscam to add XScam to your project as a dev dependency. Optionally, run npm i -g xscam to install it globally. Then execute npm link xscam to link it to your project.
Usage
Run ng generate xscam:component --name test-component to generate a new component. You can also use ng generate xscam:directive|pipe --name test-component.
Note: Don't forget to add
--name test-componentor else it will not work.
Build
Run ng build xscam to build the project. The build artifacts will be stored in the dist/ directory.
Publishing
After building your library with ng build xscam, go to the dist folder cd dist/xscam and run npm publish.
Running unit tests
Run ng test xscam 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 Overview and Command Reference page.
