0.0.9 • Published 7 years ago
@acpaas-ui/schematics v0.0.9
ACPaaS UI Schematics
Custom schematics for the ACPaaS UI project.
Table of Contents
Installation
Install the schematics in your angular-cli app:
npm install @acpaas-ui/schematics --save-devor
yarn add @acpaas-ui/schematics --save-devUsage
The custom package and example schematics will be available for use with the cli:
ng g @acpaas-ui/schematics:package --name=<name here>
ng g @acpaas-ui/schematics:example --name=<name here>Development
- Install all dependencies
npm installor
yarn- Build with
npm run buildTo enable watching for changes run
npm run build -- --watch- To install the schematic in your app, link this repo with
npm linkand run
ng generate @acpaas-ui/schematics:<schematic> --name=<name>in your app.
- To test locally, install
@angular-devkit/schematicsglobally and use theschematicscommand line tool. That tool acts the same as thegeneratecommand of the Angular CLI, but also has a debug mode.
Check the documentation with
schematics --help- Unit Testing
npm run test will run the unit tests, using Jasmine as a runner and test framework.
Documentation
See the angular schematics and this blogpost for more info.
Contribution
Please make sure to read the Contributing Guide before making a pull request.
Thank you to all the people who already contributed to ACPaaS UI!
License
Copyright (c) 2016-present, Digipolis