diff --git a/package.json b/package.json index b9d2fda..663b0c4 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "rollup": "./bin/rollup" }, "scripts": { - "pretest": "npm run lint && npm run build", + "pretest": "npm run build", "test": "mocha", "pretest-coverage": "npm run build", "test-coverage": "rm -rf coverage/* && istanbul cover --report json node_modules/.bin/_mocha -- -u exports -R spec test/test.js", @@ -16,7 +16,7 @@ "ci": "npm run test-coverage && codecov < coverage/coverage-remapped.lcov", "build": "git rev-parse HEAD > .commithash && rollup -c -o dist/rollup.js", "build:browser": "git rev-parse HEAD > .commithash && rollup -c rollup.config.browser.js -o dist/rollup.browser.js", - "prepublish": "npm test && npm run build:browser", + "prepublish": "npm run lint && npm test && npm run build:browser", "lint": "eslint src browser" }, "repository": {