From 6cd7a13eae02116a7adcbb1969643523dd5704a8 Mon Sep 17 00:00:00 2001 From: isaacs Date: Wed, 6 Apr 2011 13:12:15 -0700 Subject: Closes GH-752 Add pre/post publish script support --- doc/scripts.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc') 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: -- cgit v1.2.3