From 8c5a94fa6491216a79a6fa258a468aca757ea941 Mon Sep 17 00:00:00 2001 From: kialam Date: Wed, 21 Nov 2018 13:35:56 -0500 Subject: [PATCH] Update readme to include saving exact dependencies using npm. --- awx/ui/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/awx/ui/README.md b/awx/ui/README.md index a46184fc42..ba5b595392 100644 --- a/awx/ui/README.md +++ b/awx/ui/README.md @@ -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