diff --git a/.gitignore b/.gitignore index d6a29f4..cf52aaa 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,8 @@ lib-cov coverage lib +.nyc_output + # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) .grunt diff --git a/.istanbul.yml b/.istanbul.yml deleted file mode 100644 index c0890a3..0000000 --- a/.istanbul.yml +++ /dev/null @@ -1,2 +0,0 @@ -instrumentation: - excludes: ["**/spec/**"] diff --git a/.nycrc b/.nycrc new file mode 100644 index 0000000..10cbbdf --- /dev/null +++ b/.nycrc @@ -0,0 +1,10 @@ +{ + "reporter": [ + "lcov", + "text-summary" + ], + "exclude": [ + "**/spec/**", + "lib/" + ] +} \ No newline at end of file diff --git a/package.json b/package.json index 1ab5b11..11f1737 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ ], "scripts": { "build": "./node_modules/.bin/babel src/ -d lib/", - "test": "TESTING=1 ./node_modules/.bin/istanbul cover ./node_modules/.bin/jasmine", + "test": "TESTING=1 nyc ./node_modules/.bin/jasmine", "prepublish": "npm run build" }, "keywords": [ @@ -28,9 +28,9 @@ "babel-preset-es2015": "^6.24.0", "babel-preset-stage-0": "^6.22.0", "codecov": "2.1.0", - "istanbul": "1.1.0-alpha.1", "jasmine": "2.5.3", - "jasmine-spec-reporter": "^3.2.0" + "jasmine-spec-reporter": "^3.2.0", + "nyc": "^10.1.2" }, "dependencies": { "apn": "^1.7.8",