diff --git a/package.json b/package.json index 98457b5..e2f4d6b 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,9 @@ "main": "index.js", "scripts": { "test": "istanbul cover _mocha", - "coveralls": "cat ./coverage/lcov.info | coveralls" + "coveralls": "cat ./coverage/lcov.info | coveralls", + "preversion": "npm test", + "postversion": "git push && git push --tags" }, "repository": { "type": "git",