Difference between revisions of "Npm run --help"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{lowercase}} == See also == * {{npm}} * {{js}} Category:JavaScript Category:Package managers")
 
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
  
 +
<pre>
 +
npm run --help
 +
npm run-script
 +
 +
Run arbitrary package scripts
 +
 +
Usage:
 +
npm run-script <command> [-- <args>]
 +
 +
Options:
 +
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
 +
[-ws|--workspaces] [--include-workspace-root] [--if-present] [--ignore-scripts]
 +
[--script-shell <script-shell>]
 +
 +
aliases: run, rum, urn
 +
 +
Run "npm help run-script" for more info
 +
</pre>
  
  

Revision as of 02:23, 1 February 2022

npm run --help
npm run-script

Run arbitrary package scripts

Usage:
npm run-script <command> [-- <args>]

Options:
[-w|--workspace <workspace-name> [-w|--workspace <workspace-name> ...]]
[-ws|--workspaces] [--include-workspace-root] [--if-present] [--ignore-scripts]
[--script-shell <script-shell>]

aliases: run, rum, urn

Run "npm help run-script" for more info


See also

Advertising: