diff options
author | Simon Legg <leggsimon@gmail.com> | 2017-06-13 15:58:05 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2017-06-27 04:31:22 +0300 |
commit | a1058afd9a7a569bd0ac65b86eadd4fe077a7221 (patch) | |
tree | 4dcce4f1952541302f3a41292fcc6bb0ac2fc45b /doc | |
parent | f19bd3c8cbd37c8a99487d6b5035282580ac3e9d (diff) |
docs: document `--no-package-json` flag
PR-URL: https://github.com/npm/npm/pull/17169
Credit: @leggsimon
Reviewed-By: @iarna
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cli/npm-install.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/cli/npm-install.md b/doc/cli/npm-install.md index 44cb68792..74e5e04bc 100644 --- a/doc/cli/npm-install.md +++ b/doc/cli/npm-install.md @@ -343,6 +343,9 @@ being installed. The `--no-shrinkwrap` argument, which will ignore an available package lock or shrinkwrap file and use the package.json instead. +The `--no-package-lock` argument will prevent npm from creating a +`package-lock.json` file. + The `--nodedir=/path/to/node/source` argument will allow npm to find the node source code so that npm can compile native modules. |