diff options
Diffstat (limited to 'deps/npm/man/man1/npm-run-script.1')
-rw-r--r-- | deps/npm/man/man1/npm-run-script.1 | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/deps/npm/man/man1/npm-run-script.1 b/deps/npm/man/man1/npm-run-script.1 index 618d49d3d1..7269378fd9 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" "April 2016" "" "" +.TH "NPM\-RUN\-SCRIPT" "1" "May 2016" "" "" .SH "NAME" \fBnpm-run-script\fR \- Run arbitrary package scripts .SH SYNOPSIS @@ -51,6 +51,10 @@ you should write: .P instead of \fB"scripts": {"test": "node_modules/\.bin/tap test/\\*\.js"}\fP to run your tests\. .P +\fBnpm run\fP sets the \fBNODE\fP environment variable to the \fBnode\fP executable with +which \fBnpm\fP is executed, and adds the directory within which it resides to the +\fBPATH\fP, too\. +.P If you try to run a script without having a \fBnode_modules\fP directory and it fails, you will be given a warning to run \fBnpm install\fP, just in case you've forgotten\. .SH SEE ALSO |