diff options
Diffstat (limited to 'deps/npm/html/partial/doc/cli/npm-run-script.html')
-rw-r--r-- | deps/npm/html/partial/doc/cli/npm-run-script.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/npm/html/partial/doc/cli/npm-run-script.html b/deps/npm/html/partial/doc/cli/npm-run-script.html index 4d3b6722f0..e79376870e 100644 --- a/deps/npm/html/partial/doc/cli/npm-run-script.html +++ b/deps/npm/html/partial/doc/cli/npm-run-script.html @@ -23,8 +23,9 @@ built-in.</p> <code>node_modules/.bin</code> to the <code>PATH</code> provided to scripts. Any binaries provided by locally-installed dependencies can be used without the <code>node_modules/.bin</code> prefix. For example, if there is a <code>devDependency</code> on <code>tap</code> in your package, -you should write <code>"scripts": {"test": "tap test/\*.js"}</code> instead of <code>"scripts": -{"test": "node_modules/.bin/tap test/\*.js"}</code> to run your tests.</p> +you should write:</p> +<pre><code>"scripts": {"test": "tap test/\*.js"} +</code></pre><p>instead of <code>"scripts": {"test": "node_modules/.bin/tap test/\*.js"}</code> to run your tests.</p> <h2 id="see-also">SEE ALSO</h2> <ul> <li><a href="../misc/npm-scripts.html">npm-scripts(7)</a></li> |