diff --git a/package.json b/package.json index 45a13c5..bf3b80a 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,9 @@ "test": "tape -r esm __test__/test.js", "bench": "node -r esm __test__/bench.js", "build": "rollup -c", - "watch": "rollup -cw" + "watch": "rollup -cw", + "pretest": "npm run lint", + "prepublishOnly": "npm test" }, "files": [ "index.js",