]> gerrit.simantics Code Review - simantics/district.git/blob - org.simantics.maps.server/node/node-v4.8.0-win-x64/node_modules/npm/doc/api/npm-run-script.md
Adding integrated tile server
[simantics/district.git] / org.simantics.maps.server / node / node-v4.8.0-win-x64 / node_modules / npm / doc / api / npm-run-script.md
1 npm-run-script(3) -- Run arbitrary package scripts
2 ==================================================
3
4 ## SYNOPSIS
5
6     npm.commands.run-script(args, callback)
7
8 ## DESCRIPTION
9
10 This runs an arbitrary command from a package's "scripts" object.
11
12 It is used by the test, start, restart, and stop commands, but can be
13 called directly, as well.
14
15 The 'args' parameter is an array of strings. Behavior depends on the number
16 of elements.  If there is only one element, npm assumes that the element
17 represents a command to be run on the local repository. If there is more than
18 one element, then the first is assumed to be the package and the second is
19 assumed to be the command to run. All other elements are ignored.
20
21 ## SEE ALSO
22
23 * npm-scripts(7)
24 * npm-test(3)
25 * npm-start(3)
26 * npm-restart(3)
27 * npm-stop(3)