summaryrefslogtreecommitdiff
path: root/deps/npm/man/man1/npm-run-script.1
diff options
context:
space:
mode:
authorKat Marchán <kzm@sykosomatic.org>2015-07-24 15:09:52 -0700
committerJeremiah Senkpiel <fishrock123@rocketmail.com>2015-07-24 18:19:40 -0700
commitb73a7465c5b5aadaeb64de9ff4e56a06e98ab336 (patch)
tree68aa5634729c6ec18379bfe1020d40299d228dc1 /deps/npm/man/man1/npm-run-script.1
parent68b06e94e3e1de11c45b613aff9836310360a8e2 (diff)
downloadandroid-node-v8-b73a7465c5b5aadaeb64de9ff4e56a06e98ab336.tar.gz
android-node-v8-b73a7465c5b5aadaeb64de9ff4e56a06e98ab336.tar.bz2
android-node-v8-b73a7465c5b5aadaeb64de9ff4e56a06e98ab336.zip
deps: upgrade to npm 2.13.2
PR-URL: https://github.com/nodejs/io.js/pull/2241 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Diffstat (limited to 'deps/npm/man/man1/npm-run-script.1')
-rw-r--r--deps/npm/man/man1/npm-run-script.124
1 files changed, 12 insertions, 12 deletions
diff --git a/deps/npm/man/man1/npm-run-script.1 b/deps/npm/man/man1/npm-run-script.1
index c1d893beb5..51c94d9d41 100644
--- a/deps/npm/man/man1/npm-run-script.1
+++ b/deps/npm/man/man1/npm-run-script.1
@@ -11,16 +11,16 @@ npm run [command] [\-\- <args>]
.RE
.SH DESCRIPTION
.P
-This runs an arbitrary command from a package's \fB"scripts"\fR object\. If no
-\fB"command"\fR is provided, it will list the available scripts\. \fBrun[\-script]\fR is
+This runs an arbitrary command from a package's \fB"scripts"\fP object\. If no
+\fB"command"\fP is provided, it will list the available scripts\. \fBrun[\-script]\fP is
used by the test, start, restart, and stop commands, but can be called
directly, as well\. When the scripts in the package are printed out, they're
separated into lifecycle (test, start, restart) and directly\-run scripts\.
.P
-As of \fBnpm@2\.0\.0\fR \fIhttp://blog\.npmjs\.org/post/98131109725/npm\-2\-0\-0\fR, you can
-use custom arguments when executing scripts\. The special option \fB\-\-\fR is used by
+As of \fBnpm@2\.0\.0\fP \fIhttp://blog\.npmjs\.org/post/98131109725/npm\-2\-0\-0\fR, you can
+use custom arguments when executing scripts\. The special option \fB\-\-\fP is used by
getopt \fIhttp://goo\.gl/KxMmtG\fR to delimit the end of the options\. npm will pass
-all the arguments after the \fB\-\-\fR directly to your script:
+all the arguments after the \fB\-\-\fP directly to your script:
.P
.RS 2
.nf
@@ -28,18 +28,18 @@ npm run test \-\- \-\-grep="pattern"
.fi
.RE
.P
-The arguments will only be passed to the script specified after \fBnpm run\fR
+The arguments will only be passed to the script specified after \fBnpm run\fP
and not to any pre or post script\.
.P
-The \fBenv\fR script is a special built\-in command that can be used to list
+The \fBenv\fP script is a special built\-in command that can be used to list
environment variables that will be available to the script at runtime\. If an
"env" command is defined in your package it will take precedence over the
built\-in\.
.P
-In addition to the shell's pre\-existing \fBPATH\fR, \fBnpm run\fR adds
-\fBnode_modules/\.bin\fR to the \fBPATH\fR provided to scripts\. Any binaries provided by
-locally\-installed dependencies can be used without the \fBnode_modules/\.bin\fR
-prefix\. For example, if there is a \fBdevDependency\fR on \fBtap\fR in your package,
+In addition to the shell's pre\-existing \fBPATH\fP, \fBnpm run\fP adds
+\fBnode_modules/\.bin\fP to the \fBPATH\fP provided to scripts\. Any binaries provided by
+locally\-installed dependencies can be used without the \fBnode_modules/\.bin\fP
+prefix\. For example, if there is a \fBdevDependency\fP on \fBtap\fP in your package,
you should write:
.P
.RS 2
@@ -48,7 +48,7 @@ you should write:
.fi
.RE
.P
-instead of \fB"scripts": {"test": "node_modules/\.bin/tap test/\\*\.js"}\fR to run your tests\.
+instead of \fB"scripts": {"test": "node_modules/\.bin/tap test/\\*\.js"}\fP to run your tests\.
.SH SEE ALSO
.RS 0
.IP \(bu 2