Skip to content

Commit 19245d9

Browse files
committed
using babel-istanbul to cover the es6
1 parent 877e7d7 commit 19245d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"posttest": "npm run lint && npm run build",
1212
"autotest": "chokidar src test -c 'npm test'",
1313
"precover": "npm run lint && npm run build",
14-
"cover": "istanbul cover node_modules/mocha/bin/_mocha",
14+
"cover": "babel-istanbul cover node_modules/.bin/_mocha",
1515
"travis": "npm run cover -- --report lcovonly",
1616
"prepublish": "npm run build"
1717
},
@@ -40,13 +40,13 @@
4040
"devDependencies": {
4141
"babel": "^5.4.7",
4242
"babel-eslint": "^3.1.9",
43+
"babel-istanbul": "^0.2.10",
4344
"babelify": "^6.1.2",
4445
"chokidar-cli": "^0.2.1",
4546
"codecov.io": "^0.1.2",
4647
"coveralls": "^2.11.2",
4748
"css-selector-parser": "^1.0.4",
4849
"eslint": "^0.21.2",
49-
"istanbul": "^0.3.14",
5050
"mocha": "^2.2.5"
5151
}
5252
}

0 commit comments

Comments
 (0)