diff --git a/docs/content/using-npm/scripts.md b/docs/content/using-npm/scripts.md index 00ef822bf9001..9312a21546d6f 100644 --- a/docs/content/using-npm/scripts.md +++ b/docs/content/using-npm/scripts.md @@ -8,9 +8,9 @@ description: How npm handles the "scripts" field The `"scripts"` property of your `package.json` file supports a number of built-in scripts and their preset life cycle events as well as -arbitrary scripts. These all can be executed by running `npm run-script -` or `npm run ` for short. *Pre* and *post* commands with -matching names will be run for those as well (e.g. `premyscript`, +arbitrary scripts. These all can be executed by running +`npm run-script ` or `npm run ` for short. *Pre* and *post* +commands with matching names will be run for those as well (e.g. `premyscript`, `myscript`, `postmyscript`). Scripts from dependencies can be run with `npm explore -- npm run `.