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:
Diffstat (limited to 'doc/scripts.md')
-rw-r--r--doc/scripts.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/scripts.md b/doc/scripts.md
index 0be621173..681e95656 100644
--- a/doc/scripts.md
+++ b/doc/scripts.md
@@ -18,8 +18,10 @@ following scripts:
Run BEFORE the package is updated with the update command.
* update, postupdate:
Run AFTER the package is updated with the update command.
-* (pre,post,)updatedependency-foo:
- Run (before,after) the "foo" dependency is modified.
+* prepublish:
+ Run BEFORE the package is published.
+* publish, postpublish:
+ Run AFTER the package is published.
* pretest, test, posttest:
Run by the `npm test` command.
* prestop, stop, poststop: