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
path: root/doc
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-04-07 00:12:15 +0400
committerisaacs <i@izs.me>2011-04-07 01:08:38 +0400
commit6cd7a13eae02116a7adcbb1969643523dd5704a8 (patch)
treea2a1f606dffd3aad11df4ed21b769fd4d432b5e2 /doc
parent0de96e6603ffdb4377cd1e4a1f8408275ab90d1c (diff)
Closes GH-752 Add pre/post publish script support
Diffstat (limited to 'doc')
-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: