Add prepublish hook

This commit is contained in:
Rico Sta. Cruz
2015-11-13 10:28:16 +11:00
parent 6eafcf8dc6
commit ad6292fffb

View File

@@ -41,7 +41,8 @@
"test": "npm run lint && npm run standalone && testling", "test": "npm run lint && npm run standalone && testling",
"test--html": "testling --html > tests/scripts/index.html", "test--html": "testling --html > tests/scripts/index.html",
"coverage": "browserify -t coverify tests/**/*.js | testling | coverify", "coverage": "browserify -t coverify tests/**/*.js | testling | coverify",
"standalone": "browserify index.js --standalone Pjax > pjax.js" "standalone": "browserify index.js --standalone Pjax > pjax.js",
"prepublish": "npm run standalone"
}, },
"testling": { "testling": {
"files": "tests/**/*.js", "files": "tests/**/*.js",