docs: update command descriptions

This commit is contained in:
Filipe Silva 2018-04-30 17:27:45 -07:00 committed by Hans
parent 6a7c3d68df
commit e64cd783e9
4 changed files with 93 additions and 95 deletions

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -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.