1 | # AngularCliWidgets
|
2 |
|
3 | [![Build Status](https://travis-ci.org/arranbartish/angular-cli-widgets.svg?branch=master)](https://travis-ci.org/arranbartish/angular-cli-widgets)
|
4 | [![Dependency Status](https://david-dm.org/arranbartish/angular-cli-widgets.svg)](https://david-dm.org/arranbartish/angular-cli-widgets)
|
5 | [![devDependency Status](https://david-dm.org/arranbartish/angular-cli-widgets/dev-status.svg)](https://david-dm.org/arranbartish/angular-cli-widgets?type=dev)
|
6 | [![Code coverage](https://codecov.io/gh/arranbartish/angular-cli-widgets/branch/master/graph/badge.svg)](https://codecov.io/gh/arranbartish/angular-cli-widgets)
|
7 | [![Code Climate](https://codeclimate.com/github/arranbartish/angular-cli-widgets/badges/gpa.svg)](https://codeclimate.com/github/arranbartish/angular-cli-widgets)
|
8 | [![npm](https://badge.fury.io/js/arranbartish-angular-cli-widgets.svg)](https://badge.fury.io/js/arranbartish-angular-cli-widgets)
|
9 |
|
10 |
|
11 | This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.0.0.
|
12 |
|
13 | ## Development server
|
14 |
|
15 | Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
|
16 |
|
17 | ## Code scaffolding
|
18 |
|
19 | Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive/pipe/service/class/module`.
|
20 |
|
21 | ## Build
|
22 |
|
23 | Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.
|
24 |
|
25 | ## Running unit tests
|
26 |
|
27 | Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
28 |
|
29 | ## Running end-to-end tests
|
30 |
|
31 | Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
|
32 | Before running the tests make sure you are serving the app via `ng serve`.
|
33 |
|
34 | ## Further help
|
35 |
|
36 | 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).
|
37 |
|
38 | ## Wallaby Integration
|
39 |
|
40 | Simply install the plugin and configure your IDE to run with the wallaby config and the correct node version, __NOT__ the one that embedded in the IDE.
|
41 |
|
42 | This is an example good configuration ![Image](https://cloud.githubusercontent.com/assets/979966/23509360/3557abac-ffa1-11e6-9380-e79386a14fd1.png)
|
43 |
|
44 |
|
45 | ## References
|
46 |
|
47 | [getting-your-angular-2-library-ready-for-aot]: https://medium.com/@isaacplmann/getting-your-angular-2-library-ready-for-aot-90d1347bcad
|
48 | [making-your-angular-2-library-statically-analyzable-for-aot]: https://medium.com/@isaacplmann/making-your-angular-2-library-statically-analyzable-for-aot-e1c6f3ebedd5
|
49 | [how-to-create-an-angular-library]: http://www.dzurico.com/how-to-create-an-angular-library/
|
50 | [how-to-build-and-publish-an-angular-module]: https://medium.com/@cyrilletuzi/how-to-build-and-publish-an-angular-module-7ad19c0b4464
|
51 | [tree-shaking-angular2-production-build-rollup-javascript]: http://blog.mgechev.com/2016/06/26/tree-shaking-angular2-production-build-rollup-javascript/
|