summaryrefslogtreecommitdiff
path: root/deps/npm/html/doc/cli/npm-run-script.html
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/html/doc/cli/npm-run-script.html')
-rw-r--r--deps/npm/html/doc/cli/npm-run-script.html8
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 &lt;script&gt; &lt;name&gt;</code></pre>
+<pre><code>npm run-script [&lt;pkg&gt;] &lt;command&gt;</code></pre>
<h2 id="DESCRIPTION">DESCRIPTION</h2>
-<p>This runs an arbitrary command from a package&#39;s &quot;scripts&quot; object.</p>
+<p>This runs an arbitrary command from a package&#39;s <code>&quot;scripts&quot;</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>&quot;scripts&quot;</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>&nbsp;</td><td colspan=10 style="width:10px;height:10px;background:rgb(237,127,127)">&nbsp;</td></tr>
<tr><td colspan=5 style="width:50px;height:10px;background:#fff">&nbsp;</td><td style="width:40px;height:10px;background:rgb(237,127,127)" colspan=4>&nbsp;</td><td style="width:90px;height:10px;background:#fff" colspan=9>&nbsp;</td></tr>
</table>
-<p id="footer">npm-run-script &mdash; npm@1.4.7</p>
+<p id="footer">npm-run-script &mdash; npm@1.4.8</p>