From ad6292fffbe5498cc031cd6335423458639e6ddb Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Fri, 13 Nov 2015 10:28:16 +1100 Subject: [PATCH] Add prepublish hook --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2cecc0a..5f6d1e6 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,8 @@ "test": "npm run lint && npm run standalone && testling", "test--html": "testling --html > tests/scripts/index.html", "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": { "files": "tests/**/*.js",