Skip to content

Commit 06fc9e8

Browse files
authored
Use nyc (#71)
1 parent 0fa4337 commit 06fc9e8

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ lib-cov
1515
coverage
1616
lib
1717

18+
.nyc_output
19+
1820
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
1921
.grunt
2022

.istanbul.yml

-2
This file was deleted.

.nycrc

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"reporter": [
3+
"lcov",
4+
"text-summary"
5+
],
6+
"exclude": [
7+
"**/spec/**",
8+
"lib/"
9+
]
10+
}

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"scripts": {
1010
"build": "./node_modules/.bin/babel src/ -d lib/",
11-
"test": "TESTING=1 ./node_modules/.bin/istanbul cover ./node_modules/.bin/jasmine",
11+
"test": "TESTING=1 nyc ./node_modules/.bin/jasmine",
1212
"prepublish": "npm run build"
1313
},
1414
"keywords": [
@@ -28,9 +28,9 @@
2828
"babel-preset-es2015": "^6.24.0",
2929
"babel-preset-stage-0": "^6.22.0",
3030
"codecov": "2.1.0",
31-
"istanbul": "1.1.0-alpha.1",
3231
"jasmine": "2.5.3",
33-
"jasmine-spec-reporter": "^3.2.0"
32+
"jasmine-spec-reporter": "^3.2.0",
33+
"nyc": "^10.1.2"
3434
},
3535
"dependencies": {
3636
"apn": "^1.7.8",

0 commit comments

Comments
 (0)