diff options
Diffstat (limited to 'deps/npm/doc/misc/npm-config.md')
-rw-r--r-- | deps/npm/doc/misc/npm-config.md | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/deps/npm/doc/misc/npm-config.md b/deps/npm/doc/misc/npm-config.md index 0ab0418918..a82c8ee220 100644 --- a/deps/npm/doc/misc/npm-config.md +++ b/deps/npm/doc/misc/npm-config.md @@ -155,6 +155,15 @@ even for `GET` requests. When "dev" or "development" and running local `npm shrinkwrap`, `npm outdated`, or `npm update`, is an alias for `--dev`. +### audit + +* Default: true +* Type: Boolean + +When "true" submit audit reports alongside `npm install` runs to the default +registry and all registries configured for scopes. See the documentation +for npm-audit(1) for details on what is submitted. + ### auth-type * Default: `'legacy'` @@ -284,6 +293,9 @@ This is a list of CIDR address to be used when configuring limited access tokens If false, never shows colors. If `"always"` then always shows colors. If true, then only prints color codes for tty file descriptors. +This option can also be changed using the environment: colors are +disabled when the environment variable `NO_COLOR` is set to any value. + ### depth * Default: Infinity @@ -672,6 +684,13 @@ impact how lifecycle scripts are called. The node version to use when checking a package's `engines` map. +### no-proxy + +* Default: null +* Type: String or Array + +A comma-separated string or an array of domain extensions that a proxy should not be used for. + ### offline * Default: false @@ -731,6 +750,10 @@ when publishing or changing package permissions with `npm access`. If set to false, then ignore `package-lock.json` files when installing. This will also prevent _writing_ `package-lock.json` if `save` is true. +When package package-locks are disabled, automatic pruning of extraneous +modules will also be disabled. To remove extraneous modules with +package-locks disabled use `npm prune`. + This option is an alias for `--shrinkwrap`. ### package-lock-only @@ -738,7 +761,7 @@ This option is an alias for `--shrinkwrap`. * Default: false * Type: Boolean -If set to true, it will update only the `package-json`, +If set to true, it will update only the `package-lock.json`, instead of checking `node_modules` and downloading dependencies. ### parseable @@ -835,7 +858,7 @@ Remove failed installs. ### save -* Default: false +* Default: true * Type: Boolean Save installed packages to a package.json file as dependencies. |