[Pkg-javascript-commits] [node-stack-utils] 51/67: auto-publish on version bump

Bastien Roucariès rouca at moszumanska.debian.org
Thu Sep 7 09:53:05 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-stack-utils.

commit 36faf9b7857ac7c3116b7ffc1aa6f20cdfd0de5c
Author: isaacs <i at izs.me>
Date:   Sun Apr 23 13:32:07 2017 -0700

    auto-publish on version bump
---
 package.json | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package.json b/package.json
index 1760b2a..792ecc8 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,10 @@
     "node": ">=0.10.0"
   },
   "scripts": {
-    "test": "tap test/*.js --100 -J"
+    "test": "tap test/*.js --100 -J",
+    "preversion": "npm test",
+    "postversion": "npm publish",
+    "postpublish": "git push origin --all; git push origin --tags"
   },
   "files": [
     "index.js"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-stack-utils.git



More information about the Pkg-javascript-commits mailing list