angular-schema
v0.0.4
Published
A demo schematics
Downloads
1
Readme
angular-schema
This repository is a basic Schematic implementation that serves as a starting point to create and publish Schematics to NPM.
Testing
To test locally, install @angular-devkit/schematics-cli
globally and use the schematics
command line tool. That tool acts the same as the generate
command of the Angular CLI, but also has a debug mode.
Check the documentation with
schematics --help
That's it!
Installing the package
Go to your angular project and after installing the package run:
npm i angular-schema
Running the schema
Go to your angular project and after installing the package run:
ng g angular-schema:core //it generates a core module
ng g angular-schema:token //it generates an token interceptor
If you already want ran this but want to generate default files again, use --force flag in the above command.
That's it!
Github:
https://github.com/Saad-Amjad/schema
Package:
https://www.npmjs.com/package/angular-schema
License
- License: MIT
Author
- Author: saad.amjad
Keywords
- Angular
- Schematics