mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 03:23:57 +08:00
docs: update command descriptions
This commit is contained in:
parent
6a7c3d68df
commit
e64cd783e9
@ -3,7 +3,7 @@
|
|||||||
# ng build
|
# ng build
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
`ng build` compiles the application into an output directory
|
`ng build` compiles the application into an output directory.
|
||||||
|
|
||||||
### Creating a build
|
### Creating a build
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
# ng e2e
|
# ng e2e
|
||||||
|
|
||||||
## Overview
|
## Overview
|
||||||
`ng e2e` serves the application and runs end-to-end tests
|
`ng e2e` serves the application and runs end-to-end tests.
|
||||||
|
|
||||||
### Running end-to-end tests
|
### Running end-to-end tests
|
||||||
|
|
||||||
|
@ -5,8 +5,6 @@
|
|||||||
## Overview
|
## Overview
|
||||||
`ng serve` builds the application and starts a web server.
|
`ng serve` builds the application and starts a web server.
|
||||||
|
|
||||||
All the build Options are available in serve, below are the additional options.
|
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
<details>
|
<details>
|
||||||
<summary>prod</summary>
|
<summary>prod</summary>
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
ng test
|
ng test
|
||||||
```
|
```
|
||||||
|
|
||||||
Tests will execute after a build is executed via [Karma](http://karma-runner.github.io/0.13/index.html), and it will automatically watch your files for changes. You can run tests a single time via `--watch=false` or `--single-run`.
|
Tests will execute after a build is executed via [Karma](http://karma-runner.github.io/0.13/index.html), and it will automatically watch your files for changes. You can run tests a single time via `--watch=false`.
|
||||||
|
|
||||||
You can run tests with coverage via `--code-coverage`. The coverage report will be in the `coverage/` directory.
|
You can run tests with coverage via `--code-coverage`. The coverage report will be in the `coverage/` directory.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user