README.md.template 1.0 KB

123456789101112131415161718192021222324
  1. # <%= classify(name) %>
  2. This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version <%= angularLatestVersion %>.
  3. ## Code scaffolding
  4. Run `ng generate component component-name --project <%= name %>` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project <%= name %>`.
  5. > Note: Don't forget to add `--project <%= name %>` or else it will be added to the default project in your `angular.json` file.
  6. ## Build
  7. Run `ng build <%= name %>` to build the project. The build artifacts will be stored in the `dist/` directory.
  8. ## Publishing
  9. After building your library with `ng build <%= name %>`, go to the dist folder `cd dist/<%= dasherize(name) %>` and run `npm publish`.
  10. ## Running unit tests
  11. Run `ng test <%= name %>` to execute the unit tests via [Karma](https://karma-runner.github.io).
  12. ## Further help
  13. To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).