mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
054127112c
* Update request to support HTTPS-over-HTTP proxy tunneling * Throw on undefined envs in config settings * Update which to 1.0.5 * Fix windows UNC busyloop in findPrefix * Bundle nested bundleDependencies properly * Alias adduser to add-user * Doc updates (Christian Howe, Henrik Hodne, Andrew Lunny) * ignore logfd/outfd streams in makeEnv() (Rod Vagg) * shrinkwrap: Behave properly with url-installed deps * install: Support --save with url install targets * Support installing naked tars or single-file modules from urls etc. * init: Don't add engines section * Don't run make clean on rebuild * Added missing unicode replacement (atomizer)
49 lines
1021 B
Groff
49 lines
1021 B
Groff
.\" Generated with Ronnjs/v0.1
|
|
.\" http://github.com/kapouer/ronnjs/
|
|
.
|
|
.TH "NPM\-RUN\-SCRIPT" "3" "March 2012" "" ""
|
|
.
|
|
.SH "NAME"
|
|
\fBnpm-run-script\fR \-\- Run arbitrary package scripts
|
|
.
|
|
.SH "SYNOPSIS"
|
|
.
|
|
.nf
|
|
npm\.commands\.run\-script(args, callback)
|
|
.
|
|
.fi
|
|
.
|
|
.SH "DESCRIPTION"
|
|
This runs an arbitrary command from a package\'s "scripts" object\.
|
|
.
|
|
.P
|
|
It is used by the test, start, restart, and stop commands, but can be
|
|
called directly, as well\.
|
|
.
|
|
.P
|
|
The \'args\' parameter is an array of strings\. Behavior depends on the number
|
|
of elements\. If there is only one element, npm assumes that the element
|
|
represents a command to be run on the local repository\. If there is more than
|
|
one element, then the first is assumed to be the package and the second is
|
|
assumed to be the command to run\. All other elements are ignored\.
|
|
.
|
|
.SH "SEE ALSO"
|
|
.
|
|
.IP "\(bu" 4
|
|
npm help scripts
|
|
.
|
|
.IP "\(bu" 4
|
|
npm apihelp test
|
|
.
|
|
.IP "\(bu" 4
|
|
npm apihelp start
|
|
.
|
|
.IP "\(bu" 4
|
|
npm apihelp restart
|
|
.
|
|
.IP "\(bu" 4
|
|
npm apihelp stop
|
|
.
|
|
.IP "" 0
|
|
|