nx/docs/schematics/node-application.md
Jason Jean 24dadb9b29 docs(nx): small changes (#1066)
* docs(node): update documentation
* docs(nx): small changes
2019-02-11 10:40:50 -05:00

24 lines
1.6 KiB
Markdown

# node-application
Create a NodeJS Application
## Usage
```bash
ng generate node-application ...
```
### Options
| Name | Alias | Description | Type | Default value |
| ----------------- | ----- | ----------------------------------------------------------------------------------------- | ------- | ------------- |
| `name` | | The name of the application. | string | `undefined` |
| `directory` | | The directory of the new application. | string | `undefined` |
| `framework` | | Node Framework to use for application. | string | `express` |
| `skipFormat` | | Skip formatting files | boolean | `false` |
| `skipPackageJson` | | Do not add dependencies to package.json. | boolean | `false` |
| `unitTestRunner` | | Test runner to use for unit tests | string | `jest` |
| `tags` | | Add tags to the application (used for linting) | string | `undefined` |
| `frontendProject` | | Frontend project that needs to access this application. This sets up proxy configuration. | string | `undefined` |