We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 323aece commit 8806015Copy full SHA for 8806015
1 file changed
docs/content/using-npm/scripts.md
@@ -8,9 +8,9 @@ description: How npm handles the "scripts" field
8
9
The `"scripts"` property of your `package.json` file supports a number
10
of built-in scripts and their preset life cycle events as well as
11
-arbitrary scripts. These all can be executed by running `npm run-script
12
-<stage>` or `npm run <stage>` for short. *Pre* and *post* commands with
13
-matching names will be run for those as well (e.g. `premyscript`,
+arbitrary scripts. These all can be executed by running
+`npm run-script <stage>` or `npm run <stage>` for short. *Pre* and *post*
+commands with matching names will be run for those as well (e.g. `premyscript`,
14
`myscript`, `postmyscript`). Scripts from dependencies can be run with
15
`npm explore <pkg> -- npm run <stage>`.
16
0 commit comments