1 | # Development
|
2 |
|
3 | To build the README document, run unit tests and linter
|
4 |
|
5 | npm run build
|
6 |
|
7 | To run all unit tests (against different Angular versions)
|
8 |
|
9 | npm test
|
10 |
|
11 | To keep a watch and rerun build + lint + tests on source file change
|
12 |
|
13 | npm run watch
|
14 |
|
15 | For now, all source is in a single `ng-describe.js` file, while the documentation
|
16 | is generated from Markdown files in the `docs` folder
|
17 |
|
18 | To just run karma unit tests via Grunt plugin
|
19 |
|
20 | npm run karma
|
21 |
|
22 | If you have Karma runner installed globally you can run all the unit tests yourself ones
|
23 |
|
24 | karma start --single-run=true test/karma.conf.js
|