test depends on build, not the other way round

pull/31/head
Rich-Harris 8 years ago
parent f3d635fe60
commit 4ba76b09c2

@ -14,7 +14,7 @@
"coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov",
"lint": "eslint compiler", "lint": "eslint compiler",
"build": "rollup -c", "build": "rollup -c",
"prebuild": "npm test", "pretest": "npm run build",
"prepublish": "npm run lint && npm run build" "prepublish": "npm run lint && npm run build"
}, },
"repository": { "repository": {

Loading…
Cancel
Save