Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
doc: remove mention of <pkg> arg for run-script
Browse files Browse the repository at this point in the history
It looks like it was not updated with current `npm run-script` syntax,
since it now acceps only one parameter.

If I am not wrong, running scripts of `<pkg>` dependencies was supported
in previous versions (what a pity it was removed), so I updated
documentation.

Reviewed-By: @zkat
Credit: @fibo
PR-URL: #12776
  • Loading branch information
fibo authored and zkat committed Jun 2, 2016
1 parent 55b8424 commit 9cedf37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/misc/npm-scripts.md
Expand Up @@ -34,7 +34,7 @@ following scripts:
stop and start scripts if no `restart` script is provided.

Additionally, arbitrary scripts can be executed by running `npm
run-script <pkg> <stage>`. *Pre* and *post* commands with matching
run-script <stage>`. *Pre* and *post* commands with matching
names will be run for those as well (e.g. `premyscript`, `myscript`,
`postmyscript`).

Expand Down

0 comments on commit 9cedf37

Please sign in to comment.