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.
- Launch Browsersync
- Unit test execution (for CI)
- TSLint execution (for CI)
- Node.js 8.x
- Angular 7.x
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. |