@@ -22,7 +22,7 @@ npm install <tarball url>
2222npm install < git:// url>
2323npm install < github username> /< github project>
2424
25- aliases: i, in, ins, inst, insta, instal, isnt, isnta, isntal, add
25+ aliases: i, in, ins, inst, insta, instal, isnt, isnta, isntal, isntall, add
2626```
2727
2828<!-- automatically generated, do not edit manually -->
@@ -502,6 +502,27 @@ will be preferred.
502502< ! -- automatically generated, do not edit manually -->
503503< ! -- see lib/utils/config/definitions.js -->
504504
505+ # ### `omit`
506+
507+ * Default: ' dev' if the ` NODE_ENV` environment variable is set to
508+ ' production' , otherwise empty.
509+ * Type: " dev" , " optional" , or " peer" (can be set multiple times)
510+
511+ Dependency types to omit from the installation tree on disk.
512+
513+ Note that these dependencies _are_ still resolved and added to the
514+ ` package-lock.json` or ` npm-shrinkwrap.json` file. They are just not
515+ physically installed on disk.
516+
517+ If a package type appears in both the ` --include` and ` --omit` lists, then
518+ it will be included.
519+
520+ If the resulting omit list includes ` ' dev' ` , then the ` NODE_ENV` environment
521+ variable will be set to ` ' production' ` for all lifecycle scripts.
522+
523+ < ! -- automatically generated, do not edit manually -->
524+ < ! -- see lib/utils/config/definitions.js -->
525+
505526# ### `strict-peer-deps`
506527
507528* Default: false
@@ -541,23 +562,17 @@ This configuration does not affect `npm ci`.
541562<!-- automatically generated, do not edit manually -->
542563<!-- see lib/utils/config/definitions.js -->
543564
544- #### `omit`
545-
546- * Default: ' dev' if the `NODE_ENV` environment variable is set to
547- ' production' , otherwise empty.
548- * Type: "dev", "optional", or "peer" (can be set multiple times)
549-
550- Dependency types to omit from the installation tree on disk.
565+ #### `foreground-scripts`
551566
552- Note that these dependencies _are_ still resolved and added to the
553- `package-lock.json` or `npm-shrinkwrap.json` file. They are just not
554- physically installed on disk.
567+ * Default: false
568+ * Type: Boolean
555569
556- If a package type appears in both the `--include` and `--omit` lists, then
557- it will be included.
570+ Run all build scripts (ie, `preinstall`, `install`, and `postinstall`)
571+ scripts for installed packages in the foreground process, sharing standard
572+ input, output, and error with the main npm process.
558573
559- If the resulting omit list includes ` ' dev ' `, then the `NODE_ENV` environment
560- variable will be set to ` ' production ' ` for all lifecycle scripts .
574+ Note that this will generally make installs run slower, and be much noisier,
575+ but can be useful for debugging .
561576
562577<!-- automatically generated, do not edit manually -->
563578<!-- see lib/utils/config/definitions.js -->
0 commit comments