Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro López <a.lopez.sanchez@outlook.es>2017-11-14 22:19:14 +0300
committerRebecca Turner <me@re-becca.org>2017-11-16 21:37:03 +0300
commitf94fcbc50d8aec7350164df898d1e12a1e3da77f (patch)
tree62b81a4465d5ed223db2422c3014a95db8c2fd79 /doc/misc/npm-config.md
parent0bea58840989256ae481642869ed07620c26c17e (diff)
install: add package-lock-only config option
PR-URL: https://github.com/npm/npm/pull/19160 Credit: @alopezsanchez Reviewed-By: @iarna Fixes: https://github.com/npm/npm/issues/18789
Diffstat (limited to 'doc/misc/npm-config.md')
-rw-r--r--doc/misc/npm-config.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/misc/npm-config.md b/doc/misc/npm-config.md
index 3c9ec3881..887efce56 100644
--- a/doc/misc/npm-config.md
+++ b/doc/misc/npm-config.md
@@ -724,6 +724,14 @@ will also prevent _writing_ `package-lock.json` if `save` is true.
This option is an alias for `--shrinkwrap`.
+### package-lock-only
+
+* Default: false
+* Type: Boolean
+
+If set to true, it will update only the `package-json`,
+instead of checking `node_modules` and downloading dependencies.
+
### parseable
* Default: false