diff options
author | Darcy Clarke <darcy@darcyclarke.me> | 2021-04-02 00:27:18 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2021-04-08 21:18:11 +0300 |
commit | bc531d1860e822db4e12ef424073ce438234fbe5 (patch) | |
tree | d00d75ba545fc23ad6b6576c24e646276a5d8c8f /deps/npm/docs/output/commands/npm-set-script.html | |
parent | cc4ee6cba87ef8b04445f48adf1cf0ea172ed17e (diff) |
deps: upgrade npm to 7.8.0
PR-URL: https://github.com/nodejs/node/pull/38030
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Ruy Adorno <ruyadorno@github.com>
Diffstat (limited to 'deps/npm/docs/output/commands/npm-set-script.html')
-rw-r--r-- | deps/npm/docs/output/commands/npm-set-script.html | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/deps/npm/docs/output/commands/npm-set-script.html b/deps/npm/docs/output/commands/npm-set-script.html index 8594e62b6a1..9827c2a5a83 100644 --- a/deps/npm/docs/output/commands/npm-set-script.html +++ b/deps/npm/docs/output/commands/npm-set-script.html @@ -141,11 +141,11 @@ npm command-line interface <section id="table_of_contents"> <h2 id="table-of-contents">Table of contents</h2> -<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#see-also">See Also</a></li></ul></div> +<div id="_table_of_contents"><ul><li><a href="#synopsis">Synopsis</a></li><li><a href="#configuration">Configuration</a></li><ul><li><a href="#workspaces">workspaces</a></li><li><a href="#workspace">workspace</a></li></ul><li><a href="#see-also">See Also</a></li></ul></div> </section> <div id="_content"><h3 id="synopsis">Synopsis</h3> -<p>An npm command that lets you create a task in the scripts section of the package.json.</p> +<p>An npm command that lets you create a task in the <code>scripts</code> section of the <code>package.json</code>.</p> <pre lang="bash"><code>npm set-script [<script>] [<command>] </code></pre> <p><strong>Example:</strong></p> @@ -160,6 +160,13 @@ npm command-line interface } } </code></pre> +<h3 id="configuration">Configuration</h3> +<h4 id="workspaces">workspaces</h4> +<p>Enables workspaces context. Tasks will be created in the <code>scripts</code> section +of the <code>package.json</code> of each workspace.</p> +<h4 id="workspace">workspace</h4> +<p>Enables workspaces context and limits creating a task to the +<code>package.json</code> files of the workspaces given.</p> <h3 id="see-also">See Also</h3> <ul> <li><a href="../commands/npm-run-script.html">npm run-script</a></li> |