0.0.2 • Published 4 years ago
@dsl-cc/schematics v0.0.2
Angular Schematics for DSL Compiler Collection
Getting Started
If you are new to Angular or getting started with a new Angular application, see Angular's full Getting Started Guide and Setting up your environment.
The generate schematics require Angular Material, see Getting Started with Angular Material.
Install Schematics
Install Angular Schematics for DSL Compiler Collection
npm install --save-dev @dsl-cc/schematics
Component schematics
Running the form
schematic generates a new Angular component using a Material Design form group. Define one or more fields using the --fields
parameter.
ng generate @dsl-cc/schematics:form <component-name> --fields <field-name> --fields <field-name> ...
Example
ng generate @dsl-cc/schematics:form shipping-address --fields street --fields city --fields postal-code
Contributing
Product Backlog
Visit our Product Backlog and choose an item.
Unit Testing
npm run test
will run the unit tests, using Jasmine as a runner and test framework.
Publishing
To publish, simply do:
npm run build
npm publish