summaryrefslogtreecommitdiff
path: root/deps/npm/man/man1/npm-run-script.1
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/man/man1/npm-run-script.1')
-rw-r--r--deps/npm/man/man1/npm-run-script.110
1 files changed, 9 insertions, 1 deletions
diff --git a/deps/npm/man/man1/npm-run-script.1 b/deps/npm/man/man1/npm-run-script.1
index 08c746453c..2cdde2a46c 100644
--- a/deps/npm/man/man1/npm-run-script.1
+++ b/deps/npm/man/man1/npm-run-script.1
@@ -1,4 +1,4 @@
-.TH "NPM\-RUN\-SCRIPT" "1" "October 2017" "" ""
+.TH "NPM\-RUN\-SCRIPT" "1" "December 2017" "" ""
.SH "NAME"
\fBnpm-run-script\fR \- Run arbitrary package scripts
.SH SYNOPSIS
@@ -59,6 +59,12 @@ instead of
.P
to run your tests\.
.P
+The actual shell your script is run within is platform dependent\. By default,
+on Unix\-like systems it is the \fB/bin/sh\fP command, on Windows it is the \fBcmd\.exe\fP\|\.
+The actual shell referred to by \fB/bin/sh\fP also depends on the system\.
+As of \fBnpm@5\.1\.0\fP \fIhttps://github\.com/npm/npm/releases/tag/v5\.1\.0\fR you can
+customize the shell with the \fBscript\-shell\fP configuration\.
+.P
Scripts are run from the root of the module, regardless of what your current
working directory is when you call \fBnpm run\fP\|\. If you want your script to
use different behavior based on what subdirectory you're in, you can use the
@@ -88,6 +94,8 @@ npm help start
npm help restart
.IP \(bu 2
npm help stop
+.IP \(bu 2
+npm help 7 config
.RE