angular-docs-cn/integration/cli-hello-world
Igor Minar 912fe08756 test: improve ng build flags for cli-hello-world (#22808)
Remove unnecessary --build-optimizer flag and add --sourcemaps flag to
generate source maps for better debugging.

PR Close #22808
2018-03-18 09:33:51 -07:00
..
e2e ci: Add back the CLI integration test with pinning (#21555) 2018-01-25 22:18:55 -08:00
src ci: Add back the CLI integration test with pinning (#21555) 2018-01-25 22:18:55 -08:00
.angular-cli.json ci: Add back the CLI integration test with pinning (#21555) 2018-01-25 22:18:55 -08:00
.editorconfig ci: Add back the CLI integration test with pinning (#21555) 2018-01-25 22:18:55 -08:00
README.md ci: Add back the CLI integration test with pinning (#21555) 2018-01-25 22:18:55 -08:00
karma.conf.js ci: Add back the CLI integration test with pinning (#21555) 2018-01-25 22:18:55 -08:00
package.json test: improve ng build flags for cli-hello-world (#22808) 2018-03-18 09:33:51 -07:00
protractor.conf.js ci: Add back the CLI integration test with pinning (#21555) 2018-01-25 22:18:55 -08:00
tsconfig.json ci: Add back the CLI integration test with pinning (#21555) 2018-01-25 22:18:55 -08:00
tslint.json ci: Add back the CLI integration test with pinning (#21555) 2018-01-25 22:18:55 -08:00
yarn.lock build: upgrade to TypeScript 2.7 (#22669) 2018-03-12 09:27:23 -07:00

README.md

CliHelloWorld

This project was generated with Angular CLI version 1.6.6.

Development server

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.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

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.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.