Skip to content

Commit cf8e882

Browse files
author
Ivan Demidov
committed
Fixed #21, change isparta to nyc
1 parent e004e05 commit cf8e882

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
node_modules/
22
lib/
33
coverage/
4+
.nyc_output/
45
npm-debug.log
56
*.sublime*

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"clean": "rm -rf lib && mkdir lib",
99
"build": "npm run clean && babel --presets node5 src/index.js --out-file lib/index.js",
1010
"prepublish": "npm run build",
11-
"coverage": "babel-node ./node_modules/isparta/bin/isparta cover --report text node_modules/mocha/bin/_mocha --",
11+
"coverage": "nyc node_modules/mocha/bin/_mocha --compilers js:babel-register",
1212
"coveralls": "coveralls < coverage/lcov.info",
1313
"precoveralls": "npm run coverage",
1414
"update": "updtr"
@@ -43,8 +43,8 @@
4343
"babel-register": "^6.7.2",
4444
"chai": "^3.5.0",
4545
"coveralls": "^2.11.8",
46-
"isparta": "^4.0.0",
4746
"mocha": "^2.4.5",
47+
"nyc": "^6.1.1",
4848
"updtr": "^0.1.7",
4949
"xo": "^0.13.0"
5050
},

0 commit comments

Comments
 (0)