Merge pull request #2772 from ansible/jakemcdermott-update

add package uninstall example to readme

Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
softwarefactory-project-zuul[bot]
2018-11-21 03:11:45 +00:00
committed by GitHub

View File

@@ -67,6 +67,15 @@ npm install --prefix awx/ui --save prod-package@1.23
git add awx/ui/package.json awx/ui/package-lock.json git add awx/ui/package.json awx/ui/package-lock.json
``` ```
## Removing dependencies
```shell
# remove a development or build dependency
npm uninstall --prefix awx/ui --save-dev dev-package
# remove a production dependency
npm uninstall --prefix awx/ui --save prod-package
```
## Building for Production ## Building for Production
```shell ```shell
# built files are placed in awx/ui/static # built files are placed in awx/ui/static