Browse Source

integrate istanbul and codecov

better-aggressive
Rich-Harris 9 years ago
parent
commit
a36282e3a6
  1. 1
      .gitignore
  2. 4
      package.json

1
.gitignore

@ -3,3 +3,4 @@ node_modules
.gobble*
dist
_actual
coverage

4
package.json

@ -9,6 +9,8 @@
},
"scripts": {
"test": "mocha",
"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",
"pretest": "npm run build",
"build": "gobble build -f dist",
"prepublish": "npm test",
@ -37,6 +39,7 @@
"devDependencies": {
"babel": "^5.8.21",
"babel-core": "^5.5.8",
"codecov.io": "^0.1.6",
"console-group": "^0.1.2",
"eslint": "^1.1.0",
"gobble": "^0.10.1",
@ -46,6 +49,7 @@
"gobble-esperanto-bundle": "^0.2.0",
"gobble-rollup": "^0.8.0",
"gobble-rollup-babel": "^0.1.0",
"istanbul": "^0.3.20",
"mocha": "^2.2.4",
"source-map": "^0.4.4"
},

Loading…
Cancel
Save