summaryrefslogtreecommitdiff
path: root/deps/npm/html/doc/cli/npm-run-script.html
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2014-05-05 18:20:40 -0700
committerisaacs <i@izs.me>2014-05-05 18:20:40 -0700
commit120f7cf55fb977a145dca0ed840ea5a07730da05 (patch)
treed71ec93330b3e2514c144fa212579158bf5e3b3a /deps/npm/html/doc/cli/npm-run-script.html
parent00890e43fb935c8bc5dc150f0f2c96bc465d8a4d (diff)
downloadnode-new-120f7cf55fb977a145dca0ed840ea5a07730da05.tar.gz
npm: upgrade to 1.4.10
* Don't set referer if already set * fetch: Send referer and npm-session headers * run-script: Support --parseable and --json * list runnable scripts (Evan Lucas) * Use marked instead of ronn for html docs
Diffstat (limited to 'deps/npm/html/doc/cli/npm-run-script.html')
-rw-r--r--deps/npm/html/doc/cli/npm-run-script.html27
1 files changed, 14 insertions, 13 deletions
diff --git a/deps/npm/html/doc/cli/npm-run-script.html b/deps/npm/html/doc/cli/npm-run-script.html
index 17048060b8..64afc282b9 100644
--- a/deps/npm/html/doc/cli/npm-run-script.html
+++ b/deps/npm/html/doc/cli/npm-run-script.html
@@ -10,23 +10,24 @@
<div id="wrapper">
<h1><a href="../cli/npm-run-script.html">npm-run-script</a></h1> <p>Run arbitrary package scripts</p>
-
-<h2 id="SYNOPSIS">SYNOPSIS</h2>
-
-<pre><code>npm run-script [&lt;pkg&gt;] &lt;command&gt;</code></pre>
-
-<h2 id="DESCRIPTION">DESCRIPTION</h2>
-
+<h2 id="synopsis">SYNOPSIS</h2>
+<pre><code>npm run-script [&lt;pkg&gt;] [command]
+</code></pre><h2 id="description">DESCRIPTION</h2>
<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>
-
+in the current folder and use its <code>&quot;scripts&quot;</code> object. If no <code>&quot;command&quot;</code>
+is provided, it will list the available top level scripts.</p>
<p>It is used by the test, start, restart, and stop commands, but can be
called directly, as well.</p>
+<h2 id="see-also">SEE ALSO</h2>
+<ul>
+<li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li>
+<li><a href="../cli/npm-test.html">npm-test(1)</a></li>
+<li><a href="../cli/npm-start.html">npm-start(1)</a></li>
+<li><a href="../cli/npm-restart.html">npm-restart(1)</a></li>
+<li><a href="../cli/npm-stop.html">npm-stop(1)</a></li>
+</ul>
-<h2 id="SEE-ALSO">SEE ALSO</h2>
-
-<ul><li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li><li><a href="../cli/npm-test.html">npm-test(1)</a></li><li><a href="../cli/npm-start.html">npm-start(1)</a></li><li><a href="../cli/npm-restart.html">npm-restart(1)</a></li><li><a href="../cli/npm-stop.html">npm-stop(1)</a></li></ul>
</div>
<table border=0 cellspacing=0 cellpadding=0 id=npmlogo>
@@ -38,5 +39,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.9</p>
+<p id="footer">npm-run-script &mdash; npm@1.4.10</p>