summaryrefslogtreecommitdiff
path: root/deps/npm/doc/misc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/doc/misc')
-rw-r--r--deps/npm/doc/misc/npm-coding-style.md2
-rw-r--r--deps/npm/doc/misc/npm-config.md17
2 files changed, 18 insertions, 1 deletions
diff --git a/deps/npm/doc/misc/npm-coding-style.md b/deps/npm/doc/misc/npm-coding-style.md
index a105b1aa53..e6837bfbf3 100644
--- a/deps/npm/doc/misc/npm-coding-style.md
+++ b/deps/npm/doc/misc/npm-coding-style.md
@@ -184,7 +184,7 @@ When something is intentionally missing or removed, set it to `null`.
Don't set things to `undefined`. Reserve that value to mean "not yet
set to anything."
-Boolean objects are verboten.
+Boolean objects are forbidden.
## SEE ALSO
diff --git a/deps/npm/doc/misc/npm-config.md b/deps/npm/doc/misc/npm-config.md
index 3c9ec38817..0ab0418918 100644
--- a/deps/npm/doc/misc/npm-config.md
+++ b/deps/npm/doc/misc/npm-config.md
@@ -656,6 +656,15 @@ Any "%s" in the message will be replaced with the version number.
The registry you want to send cli metrics to if `send-metrics` is true.
+### node-options
+
+* Default: null
+* Type: String
+
+Options to pass through to Node.js via the `NODE_OPTIONS` environment
+variable. This does not impact how npm itself is executed but it does
+impact how lifecycle scripts are called.
+
### node-version
* Default: process.version
@@ -724,6 +733,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