diff options
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: |