From cd80c01c6ab7d0a9d53f7dfc0997816df7ee6d0c Mon Sep 17 00:00:00 2001 From: arve0 Date: Tue, 31 May 2016 20:32:09 +0200 Subject: [PATCH] git push after npm publish --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 10f9706..6b7033c 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,9 @@ "main": "index.js", "scripts": { "postinstall": "node check.js", - "preversion": "npm test", + "preversion": "npm test", "prepublish": "npm test", + "postpublish": "git push && git push --tags", "test": "mocha test/test.js" }, "repository": {