Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2021-01-06 03:24:00 +0300
committerisaacs <i@izs.me>2021-01-07 23:46:08 +0300
commit47ed2dfd865566643bc1d39e8a4f98d2e1add99a (patch)
tree509692cd42f178326e2c437859f7ed0ac1650ad4 /docs
parent54a7bd16c130525ade71ec9894af71c2825d8584 (diff)
add foreground-scripts optionisaacs/foreground-scripts
PR-URL: https://github.com/npm/cli/pull/2456 Credit: @isaacs Close: #2456 Reviewed-by: @ruyadorno
Diffstat (limited to 'docs')
-rw-r--r--docs/content/using-npm/config.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/content/using-npm/config.md b/docs/content/using-npm/config.md
index 2d9a4f869..3a2517d34 100644
--- a/docs/content/using-npm/config.md
+++ b/docs/content/using-npm/config.md
@@ -419,6 +419,18 @@ mistakes, unnecessary performance degradation, and malicious input.
If you don't have a clear idea of what you want to do, it is strongly
recommended that you do not use this option!
+#### 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.
+
#### format-package-lock
* Default: true