diff --git a/package.json b/package.json index 443be44..5b6f30c 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "coverify": "^1.0.6", "jscs": "^1.6.2", "jshint": "^2.5.6", + "npmpub": "^3.1.0", "serve": "1.4.0", "tape": "^3.0.0", "testling": "^1.6.1" @@ -37,7 +38,8 @@ "test--html": "testling --html > tests/scripts/index.html", "coverage": "browserify -t coverify tests/**/*.js | testling | coverify", "example": "echo '\n==> Open http://localhost:3000/example in your browser.'; serve .", - "prepublish": "npm run standalone" + "prepublish": "npm run standalone", + "release": "npm test && npmpub --skip-test" }, "testling": { "files": "tests/**/*.js",