diff options
Diffstat (limited to 'deps/npm/html/doc/cli/npm-run-script.html')
-rw-r--r-- | deps/npm/html/doc/cli/npm-run-script.html | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/deps/npm/html/doc/cli/npm-run-script.html b/deps/npm/html/doc/cli/npm-run-script.html index e410640ac1..c602aeb698 100644 --- a/deps/npm/html/doc/cli/npm-run-script.html +++ b/deps/npm/html/doc/cli/npm-run-script.html @@ -13,11 +13,13 @@ <h2 id="SYNOPSIS">SYNOPSIS</h2> -<pre><code>npm run-script <script> <name></code></pre> +<pre><code>npm run-script [<pkg>] <command></code></pre> <h2 id="DESCRIPTION">DESCRIPTION</h2> -<p>This runs an arbitrary command from a package's "scripts" object.</p> +<p>This runs an arbitrary command from a package's <code>"scripts"</code> object. +If no package name is provided, it will search for a <code>package.json</code> +in the current folder and use its <code>"scripts"</code> object.</p> <p>It is used by the test, start, restart, and stop commands, but can be called directly, as well.</p> @@ -36,5 +38,5 @@ called directly, as well.</p> <tr><td style="width:60px;height:10px;background:rgb(237,127,127)" colspan=6> </td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)"> </td></tr> <tr><td colspan=5 style="width:50px;height:10px;background:#fff"> </td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4> </td><td style="width:90px;height:10px;background:#fff" colspan=9> </td></tr> </table> -<p id="footer">npm-run-script — npm@1.4.7</p> +<p id="footer">npm-run-script — npm@1.4.8</p> |