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, 4 insertions, 1 deletions
diff --git a/deps/npm/html/doc/cli/npm-run-script.html b/deps/npm/html/doc/cli/npm-run-script.html
index b090a308ab..d22c8a7533 100644
--- a/deps/npm/html/doc/cli/npm-run-script.html
+++ b/deps/npm/html/doc/cli/npm-run-script.html
@@ -38,6 +38,9 @@ prefix. For example, if there is a <code>devDependency</code> on <code>tap</code
you should write:</p>
<pre><code>&quot;scripts&quot;: {&quot;test&quot;: &quot;tap test/\*.js&quot;}
</code></pre><p>instead of <code>&quot;scripts&quot;: {&quot;test&quot;: &quot;node_modules/.bin/tap test/\*.js&quot;}</code> to run your tests.</p>
+<p><code>npm run</code> sets the <code>NODE</code> environment variable to the <code>node</code> executable with
+which <code>npm</code> is executed, and adds the directory within which it resides to the
+<code>PATH</code>, too.</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>
<h2 id="see-also">SEE ALSO</h2>
@@ -60,5 +63,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@3.8.6</p>
+<p id="footer">npm-run-script &mdash; npm@3.8.9</p>