diff --git a/package.json b/package.json index c4aa762..072c313 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,9 @@ "license": "ISC", "repository": "git://github.com/isaacs/rimraf.git", "scripts": { + "preversion": "npm test", + "postversion": "npm publish", + "postpublish": "git push origin --all; git push origin --tags", "test": "tap test/*.js" }, "bin": "./bin.js",