diff options
author | isaacs <i@izs.me> | 2011-04-07 00:12:15 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-04-07 01:08:38 +0400 |
commit | 6cd7a13eae02116a7adcbb1969643523dd5704a8 (patch) | |
tree | a2a1f606dffd3aad11df4ed21b769fd4d432b5e2 /doc/scripts.md | |
parent | 0de96e6603ffdb4377cd1e4a1f8408275ab90d1c (diff) |
Closes GH-752 Add pre/post publish script support
Diffstat (limited to 'doc/scripts.md')
-rw-r--r-- | doc/scripts.md | 6 |
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: |