@@ -22,7 +22,7 @@ npm install <tarball url>
22
22
npm install < git:// url>
23
23
npm install < github username> /< github project>
24
24
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
26
26
```
27
27
28
28
<!-- automatically generated, do not edit manually -->
@@ -502,6 +502,27 @@ will be preferred.
502
502
< ! -- automatically generated, do not edit manually -->
503
503
< ! -- see lib/utils/config/definitions.js -->
504
504
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
+
505
526
# ### `strict-peer-deps`
506
527
507
528
* Default: false
@@ -541,23 +562,17 @@ This configuration does not affect `npm ci`.
541
562
<!-- automatically generated, do not edit manually -->
542
563
<!-- see lib/utils/config/definitions.js -->
543
564
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`
551
566
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
555
569
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.
558
573
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 .
561
576
562
577
<!-- automatically generated, do not edit manually -->
563
578
<!-- see lib/utils/config/definitions.js -->
0 commit comments