diff --git a/package.json b/package.json index 0b8e92b..750e427 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "build": "babel src -d build", "lint": "eslint --max-warnings=0 src", "mocha": "./node_modules/mocha/bin/mocha --compilers js:babel-core/register", + "prepublish": "yarn build && yarn test", "postpublish": "git push --tags", "test": "yarn lint && yarn mocha" },