@@ -84,6 +84,8 @@ place, no hoisting. shallow (formerly --global-style) only install direct
8484deps at top-level. linked: (experimental) install in node_modules/.store,
8585link in place, unhoisted.
8686
87+
88+
8789#### ` legacy-bundling `
8890
8991* Default: false
@@ -96,6 +98,8 @@ the same manner that they are depended on. This may cause very deep
9698directory structures and duplicate package installs as there is no
9799de-duplicating. Sets ` --install-strategy=nested ` .
98100
101+
102+
99103#### ` global-style `
100104
101105* Default: false
@@ -106,6 +110,8 @@ de-duplicating. Sets `--install-strategy=nested`.
106110Only install direct dependencies in the top level ` node_modules ` , but hoist
107111on deeper dependencies. Sets ` --install-strategy=shallow ` .
108112
113+
114+
109115#### ` omit `
110116
111117* Default: 'dev' if the ` NODE_ENV ` environment variable is set to
@@ -124,6 +130,8 @@ it will be included.
124130If the resulting omit list includes ` 'dev' ` , then the ` NODE_ENV ` environment
125131variable will be set to ` 'production' ` for all lifecycle scripts.
126132
133+
134+
127135#### ` strict-peer-deps `
128136
129137* Default: false
@@ -143,15 +151,7 @@ When such an override is performed, a warning is printed, explaining the
143151conflict and the packages involved. If ` --strict-peer-deps ` is set, then
144152this warning is treated as a failure.
145153
146- #### ` package-lock `
147-
148- * Default: true
149- * Type: Boolean
150-
151- If set to false, then ignore ` package-lock.json ` files when installing. This
152- will also prevent _ writing_ ` package-lock.json ` if ` save ` is true.
153154
154- This configuration does not affect ` npm ci ` .
155155
156156#### ` foreground-scripts `
157157
@@ -165,6 +165,8 @@ input, output, and error with the main npm process.
165165Note that this will generally make installs run slower, and be much noisier,
166166but can be useful for debugging.
167167
168+
169+
168170#### ` ignore-scripts `
169171
170172* Default: false
@@ -177,6 +179,8 @@ Note that commands explicitly intended to run a particular script, such as
177179will still run their intended script if ` ignore-scripts ` is set, but they
178180will * not* run any pre- or post-scripts.
179181
182+
183+
180184#### ` audit `
181185
182186* Default: true
@@ -187,6 +191,8 @@ default registry and all registries configured for scopes. See the
187191documentation for [ ` npm audit ` ] ( /commands/npm-audit ) for details on what is
188192submitted.
189193
194+
195+
190196#### ` bin-links `
191197
192198* Default: true
@@ -199,6 +205,8 @@ Set to false to have it not do this. This can be used to work around the
199205fact that some file systems don't support symlinks, even on ostensibly Unix
200206systems.
201207
208+
209+
202210#### ` fund `
203211
204212* Default: true
@@ -208,6 +216,8 @@ When "true" displays the message at the end of each `npm install`
208216acknowledging the number of dependencies looking for funding. See [ `npm
209217fund`] ( /commands/npm-fund ) for details.
210218
219+
220+
211221#### ` dry-run `
212222
213223* Default: false
@@ -221,6 +231,8 @@ commands that modify your local installation, eg, `install`, `update`,
221231Note: This is NOT honored by other network related commands, eg ` dist-tags ` ,
222232` owner ` , etc.
223233
234+
235+
224236#### ` workspace `
225237
226238* Default:
@@ -283,6 +295,8 @@ When set file: protocol dependencies will be packed and installed as regular
283295dependencies instead of creating a symlink. This option has no effect on
284296workspaces.
285297
298+
299+
286300### See Also
287301
288302* [ npm install] ( /commands/npm-install )
0 commit comments