Browse Source

fix scripts

better-aggressive
Rich-Harris 9 years ago
parent
commit
3784c013a8
  1. 3
      package.json

3
package.json

@ -8,10 +8,11 @@
"rollup": "./bin/rollup" "rollup": "./bin/rollup"
}, },
"scripts": { "scripts": {
"pretest": "npm run build",
"test": "mocha", "test": "mocha",
"pretest-coverage": "npm run build",
"test-coverage": "istanbul cover --report cobertura node_modules/.bin/_mocha -- -u exports -R spec test/test.js", "test-coverage": "istanbul cover --report cobertura node_modules/.bin/_mocha -- -u exports -R spec test/test.js",
"ci": "npm run test-coverage && codecov < coverage/cobertura-coverage.xml", "ci": "npm run test-coverage && codecov < coverage/cobertura-coverage.xml",
"pretest": "npm run build",
"build": "gobble build -f dist", "build": "gobble build -f dist",
"prepublish": "npm test", "prepublish": "npm test",
"lint": "eslint src" "lint": "eslint src"

Loading…
Cancel
Save