diff options
author | Kat Marchán <kzm@sykosomatic.org> | 2017-05-25 21:25:49 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2017-05-26 04:55:32 +0300 |
commit | 4df59348d5abb6ca4b2786ef73a22c67120ac95d (patch) | |
tree | 1073a7552658216a5bcbfd1cea8c52909558df2a /doc/misc/npm-config.md | |
parent | 80202cd4d6b7dd4f136d93a7000eeb8fd1456aa3 (diff) |
pkglock: add --no-package-lock option as --no-shrinkwrap alias
Diffstat (limited to 'doc/misc/npm-config.md')
-rw-r--r-- | doc/misc/npm-config.md | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/doc/misc/npm-config.md b/doc/misc/npm-config.md index 2ad711d0c..6fee98a90 100644 --- a/doc/misc/npm-config.md +++ b/doc/misc/npm-config.md @@ -683,6 +683,16 @@ Attempt to install packages in the `optionalDependencies` object. Note that if these packages fail to install, the overall installation process is not aborted. +### package-lock + +* Default: true +* Type: Boolean + +If set to false, then ignore `package-lock.json` files when installing. This +will also prevent _writing_ `package-lock.json` if `save` is true. + +This option is an alias for `--shrinkwrap`. + ### parseable * Default: false @@ -946,8 +956,10 @@ The shell to run for the `npm explore` command. * Default: true * Type: Boolean -If set to false, then ignore `npm-shrinkwrap.json` files when -installing. +If set to false, then ignore `npm-shrinkwrap.json` files when installing. This +will also prevent _writing_ `npm-shrinkwrap.json` if `save` is true. + +This option is an alias for `--package-lock`. ### sign-git-tag |