]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/man/man3/npm-run-script.3
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / man / man3 / npm-run-script.3
1 .TH "NPM\-RUN\-SCRIPT" "3" "October 2016" "" ""
2 .SH "NAME"
3 \fBnpm-run-script\fR \- Run arbitrary package scripts
4 .SH SYNOPSIS
5 .P
6 .RS 2
7 .nf
8 npm\.commands\.run\-script(args, callback)
9 .fi
10 .RE
11 .SH DESCRIPTION
12 .P
13 This runs an arbitrary command from a package's "scripts" object\.
14 .P
15 It is used by the test, start, restart, and stop commands, but can be
16 called directly, as well\.
17 .P
18 The 'args' parameter is an array of strings\. Behavior depends on the number
19 of elements\.  If there is only one element, npm assumes that the element
20 represents a command to be run on the local repository\. If there is more than
21 one element, then the first is assumed to be the package and the second is
22 assumed to be the command to run\. All other elements are ignored\.
23 .SH SEE ALSO
24 .RS 0
25 .IP \(bu 2
26 npm help 7 scripts
27 .IP \(bu 2
28 npm apihelp test
29 .IP \(bu 2
30 npm apihelp start
31 .IP \(bu 2
32 npm apihelp restart
33 .IP \(bu 2
34 npm apihelp stop
35
36 .RE
37