Skip to content

Commit 5943254

Browse files
chore(package): replace istanbul with nyc
1 parent b012577 commit 5943254

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@
1010
"build:min": "cross-env NODE_ENV=production webpack -o dist/html-react-parser.min.js",
1111
"build:unmin": "cross-env NODE_ENV=development webpack -o dist/html-react-parser.js",
1212
"clean": "rimraf dist",
13-
"coveralls": "cat coverage/lcov.info | coveralls",
13+
"coveralls": "nyc report --reporter=text-lcov | coveralls",
1414
"lint": "eslint --ignore-path .gitignore .",
1515
"lint:fix": "npm run lint -- --fix",
1616
"dtslint": "dtslint .",
1717
"prepublishOnly": "npm run build",
1818
"release": "standard-version --no-verify",
1919
"test": "mocha",
20-
"test:coverage": "istanbul cover _mocha -- -R spec \"test/**/*\""
20+
"test:coverage": "nyc npm test",
21+
"test:coverage:report": "nyc report --reporter=html"
2122
},
2223
"repository": {
2324
"type": "git",
@@ -50,9 +51,9 @@
5051
"eslint": "^5.10.0",
5152
"eslint-plugin-prettier": "^3.0.0",
5253
"husky": "^2.4.0",
53-
"istanbul": "^0.4.5",
5454
"lint-staged": "^8.1.0",
5555
"mocha": "^6.1.4",
56+
"nyc": "^14.1.1",
5657
"prettier": "^1.15.3",
5758
"react": "^16",
5859
"react-dom": "^16",

0 commit comments

Comments
 (0)