Skip to content
This repository has been archived by the owner on Oct 28, 2019. It is now read-only.

Commit

Permalink
Replaced istanbul by nyc
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuAA committed Nov 27, 2017
1 parent 65daa63 commit e287924
Show file tree
Hide file tree
Showing 5 changed files with 618 additions and 112 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -9,3 +9,4 @@ jumlfile
*.iml
coverage/*
sonar-project.properties
.nyc_output/*
11 changes: 0 additions & 11 deletions .istanbul.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .nycrc.json
@@ -0,0 +1,15 @@
{
"cache": true,
"check-coverage": true,
"exclude": [
"test/**/*.js"
],
"reporter": [
"lcov",
"html"
],
"lines": 75,
"statements": 75,
"functions": 75,
"branches": 75
}
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -26,8 +26,8 @@
"scripts": {
"lint": "./node_modules/.bin/eslint.js .",
"lint-fix": "./node_modules/.bin/eslint.js . --fix",
"test": "./node_modules/.bin/mocha test",
"coverage": "./node_modules/.bin/istanbul cover ./node_modules/.bin/_mocha test; ./node_modules/.bin/istanbul check-coverage"
"test": "nyc mocha test",
"coverage": "nyc --reporter=text-summary report"
},
"dependencies": {
"chalk": "2.3.0",
Expand All @@ -45,9 +45,9 @@
"eslint-config-airbnb-base": "12.1.0",
"eslint-plugin-mocha": "4.11.0",
"eslint-plugin-import": "2.8.0",
"istanbul": "0.4.5",
"mocha": "4.0.1",
"mocha-clean": "1.0.0",
"nyc": "11.3.0",
"sinon": "4.1.1",
"sinon-chai": "2.14.0"
},
Expand Down

0 comments on commit e287924

Please sign in to comment.