diff options
author | Gianluca Casati <casati_gianluca@yahoo.it> | 2014-05-07 11:54:01 +0400 |
---|---|---|
committer | Gianluca Casati <casati_gianluca@yahoo.it> | 2014-05-07 11:54:01 +0400 |
commit | 50623d8560d3d3c5d3d255da4732d82dc710c900 (patch) | |
tree | 5e54775223fc856328b57286a1f202170caae725 | |
parent | e1160eba7ac481a0c0523774cdfc53e1dd054104 (diff) |
updated npm run-script usage
Seems that npm run-scripts params order is inverted, see https://github.com/npm/npm/blob/master/lib/run-script.js#L13
-rw-r--r-- | doc/misc/npm-scripts.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/misc/npm-scripts.md b/doc/misc/npm-scripts.md index 02d76f1c4..b49d9e23d 100644 --- a/doc/misc/npm-scripts.md +++ b/doc/misc/npm-scripts.md @@ -34,7 +34,7 @@ following scripts: stop and start scripts if no `restart` script is provided. Additionally, arbitrary scripts can be run by doing -`npm run-script <stage> <pkg>`. +`npm run-script <pkg> <stage>`. ## NOTE: INSTALL SCRIPTS ARE AN ANTIPATTERN |