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

Commit 70a3ae4

Browse files
fibozkat
authored andcommitted
doc: remove mention of <pkg> arg for run-script
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
1 parent 4a4470d commit 70a3ae4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/misc/npm-scripts.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ following scripts:
3434
stop and start scripts if no `restart` script is provided.
3535

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

0 commit comments

Comments
 (0)