summaryrefslogtreecommitdiff
path: root/deps/npm/doc/cli/npm-shrinkwrap.md
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/doc/cli/npm-shrinkwrap.md')
-rw-r--r--deps/npm/doc/cli/npm-shrinkwrap.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/npm/doc/cli/npm-shrinkwrap.md b/deps/npm/doc/cli/npm-shrinkwrap.md
index 6fc7d96f7c..f89c3b8375 100644
--- a/deps/npm/doc/cli/npm-shrinkwrap.md
+++ b/deps/npm/doc/cli/npm-shrinkwrap.md
@@ -137,11 +137,11 @@ To add or update a dependency in a shrinkwrapped package:
1. Run `npm install` in the package root to install the current
versions of all dependencies.
-2. Add or update dependencies. `npm install --save` each new or updated
- package individually to update the `package.json` and the shrinkwrap.
- Note that they must be explicitly named in order to be installed: running
- `npm install` with no arguments will merely reproduce the existing
- shrinkwrap.
+2. Add or update dependencies. `npm install --save` or `npm install --save-dev`
+ each new or updated package individually to update the `package.json` and
+ the shrinkwrap. Note that they must be explicitly named in order to be
+ installed: running `npm install` with no arguments will merely reproduce
+ the existing shrinkwrap.
3. Validate that the package works as expected with the new
dependencies.
4. Commit the new `npm-shrinkwrap.json`, and publish your package.