Skip to content

Commit a908ae9

Browse files
committed
CLI documentation update from CI
1 parent b3d89cc commit a908ae9

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

content/cli/v8/commands/npm-run-script.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,21 @@ will *not* run any pre- or post-scripts.
250250
<!-- automatically generated, do not edit manually -->
251251
<!-- see lib/utils/config/definitions.js -->
252252

253+
#### `foreground-scripts`
254+
255+
* Default: false
256+
* Type: Boolean
257+
258+
Run all build scripts (ie, `preinstall`, `install`, and `postinstall`)
259+
scripts for installed packages in the foreground process, sharing standard
260+
input, output, and error with the main npm process.
261+
262+
Note that this will generally make installs run slower, and be much noisier,
263+
but can be useful for debugging.
264+
265+
<!-- automatically generated, do not edit manually -->
266+
<!-- see lib/utils/config/definitions.js -->
267+
253268
#### `script-shell`
254269

255270
* Default: '/bin/sh' on POSIX systems, 'cmd.exe' on Windows

0 commit comments

Comments
 (0)