Update readme to include saving exact dependencies using npm.

This commit is contained in:
kialam 2018-11-21 13:35:56 -05:00
parent bb1473f67f
commit 8c5a94fa64
No known key found for this signature in database
GPG Key ID: 2D0E60E4B8C7EA0F

View File

@ -67,6 +67,14 @@ npm install --prefix awx/ui --save prod-package@1.23
git add awx/ui/package.json awx/ui/package-lock.json
```
## Adding exact dependencies
```shell
# add an exact development or build dependency
npm install --prefix awx/ui --save-dev --save-exact dev-package@1.2.3
# add an exact production dependency
npm install --prefix awx/ui --save --save-exact prod-package@1.23
```
## Removing dependencies
```shell
# remove a development or build dependency