diff options
author | Ruy Adorno <ruyadorno@hotmail.com> | 2022-06-29 21:45:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-29 21:45:34 +0300 |
commit | 5be7d6ea555bc25acaae1bfd309d64ce6693b084 (patch) | |
tree | 1c35529ba779021083248808bc44ce2c4f39283b /docs | |
parent | 0ce09f18b011620600c66bd226ec0e1d0ba6eb8a (diff) |
docs: add foreground-scripts to run-script page (#5087)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/commands/npm-run-script.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/content/commands/npm-run-script.md b/docs/content/commands/npm-run-script.md index d94040f1a..f606ec6bf 100644 --- a/docs/content/commands/npm-run-script.md +++ b/docs/content/commands/npm-run-script.md @@ -240,6 +240,21 @@ will *not* run any pre- or post-scripts. <!-- automatically generated, do not edit manually --> <!-- see lib/utils/config/definitions.js --> +#### `foreground-scripts` + +* Default: false +* Type: Boolean + +Run all build scripts (ie, `preinstall`, `install`, and `postinstall`) +scripts for installed packages in the foreground process, sharing standard +input, output, and error with the main npm process. + +Note that this will generally make installs run slower, and be much noisier, +but can be useful for debugging. + +<!-- automatically generated, do not edit manually --> +<!-- see lib/utils/config/definitions.js --> + #### `script-shell` * Default: '/bin/sh' on POSIX systems, 'cmd.exe' on Windows |