diff --git a/package.json b/package.json index 3580c61..94d1bd1 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,7 @@ }, "scripts": { "test": "npm run node-test && grunt && npm run browser-test", + "prepublishOnly": "npm run build", "build": "node_modules/.bin/grunt", "node-test": "node tests/node-all-tests.js", "browser-test": "testem ci --file tests/testem.json",