Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorForrest L Norvell <forrest@npmjs.com>2015-02-27 09:40:36 +0300
committerForrest L Norvell <forrest@npmjs.com>2015-02-27 09:45:01 +0300
commit687117a5bcd6a838cd1532ea7020ec6fcf0c33c0 (patch)
tree952988aa0783c0374c08d962d400a61dd43ceae0
parentda269db98debaf076ab6e3490c1b61628e54081e (diff)
doc: `npm `run-script`` groups scripts
-rw-r--r--doc/cli/npm-run-script.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/cli/npm-run-script.md b/doc/cli/npm-run-script.md
index 507d2e9cc..9e6e17e1d 100644
--- a/doc/cli/npm-run-script.md
+++ b/doc/cli/npm-run-script.md
@@ -9,9 +9,10 @@ npm-run-script(1) -- Run arbitrary package scripts
## DESCRIPTION
This runs an arbitrary command from a package's `"scripts"` object. If no
-`"command"` is provided, it will list the available top level scripts.
-`run[-script]` is used by the test, start, restart, and stop commands, but can
-be called directly, as well.
+`"command"` is provided, it will list the available scripts. `run[-script]` is
+used by the test, start, restart, and stop commands, but can be called
+directly, as well. When the scripts in the package are printed out, they're
+separated into lifecycle (test, start, restart) and directly-run scripts.
As of [`npm@2.0.0`](http://blog.npmjs.org/post/98131109725/npm-2-0-0), you can
use custom arguments when executing scripts. The special option `--` is used by