Angular CLI Sample. (Browsersync, CI)
This is a sample of Angular CLI execution environment.
In addition to the basic script of Angular CLI, the following start script has been added.
git clone git@github.com:yasu-s/ng-cli-sample.git
cd ng-cli-sample
npm install
npm start
script | overview |
---|---|
build | Build the source code. |
start:bs | Start up with Browsersync. Monitor changes in the source code and also run builds. |
test | Execute the unit test. |
test:headless | Execute the unit test.(CI) Output the JUnit format test result file to ./reports/test-results.xml. For code coverage also output to the ./reports/coverage directory. |
lint | Execute the tslint. |
lint:output | Execute the tslint.(CI) Output TSLint result to ./reports/tslint-result.json. |