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.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/npm/html/doc/cli/npm-run-script.html b/deps/npm/html/doc/cli/npm-run-script.html
index 2f61d63aec..037ad1a64c 100644
--- a/deps/npm/html/doc/cli/npm-run-script.html
+++ b/deps/npm/html/doc/cli/npm-run-script.html
@@ -11,7 +11,7 @@
<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;command&gt; [-- &lt;args&gt;...]
+<pre><code>npm run-script &lt;command&gt; [--silent] [-- &lt;args&gt;...]
alias: npm run
</code></pre><h2 id="description">DESCRIPTION</h2>
@@ -46,6 +46,7 @@ default in <code>npm</code> v3), this is only performed when that <code>node</co
not found in the <code>PATH</code>.</p>
<p>If you try to run a script without having a <code>node_modules</code> directory and it fails,
you will be given a warning to run <code>npm install</code>, just in case you&#39;ve forgotten.</p>
+<p>You can use the <code>--silent</code> flag to prevent showing <code>npm ERR!</code> output on error.</p>
<h2 id="see-also">SEE ALSO</h2>
<ul>
<li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li>
@@ -66,5 +67,5 @@ you will be given a warning to run <code>npm install</code>, just in case you&#3
<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@5.0.3</p>
+<p id="footer">npm-run-script &mdash; npm@5.3.0</p>