diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package.json b/package.json index c6f7b83..25c60b8 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ }, "scripts": { "lint": "eslint src/ tests/", + "prepublishOnly": "git diff-index --quiet --cached HEAD -- && npm run lint && npm run test", "test": "tape tests/*.js tests/test-suite/*.js | faucet" }, "repository": { |