Skip to content

Commit

Permalink
chore: switch from nyc to c8 for ESM coverage (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
brettz9 authored Feb 2, 2022
1 parent 9fbe22a commit ea0cf6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^11.2.0",
"c8": "^7.11.0",
"chai": "^4.3.4",
"eslint": "^7.22.0",
"eslint-config-eslint": "^7.0.0",
Expand All @@ -50,7 +51,6 @@
"json-diff": "^0.5.4",
"mocha": "^8.3.1",
"npm-run-all": "^4.1.5",
"nyc": "^14.1.1",
"regenerate": "^1.4.0",
"rollup": "^2.41.2",
"shelljs": "^0.3.0",
Expand All @@ -67,7 +67,7 @@
],
"scripts": {
"unit": "npm-run-all -s unit:*",
"unit:esm": "nyc mocha --color --reporter progress --timeout 30000 'tests/lib/**/*.js'",
"unit:esm": "c8 mocha --color --reporter progress --timeout 30000 'tests/lib/**/*.js'",
"unit:cjs": "mocha --color --reporter progress --timeout 30000 tests/lib/commonjs.cjs",
"test": "npm-run-all -p unit lint",
"lint": "eslint \"*.?(c)js\" lib/ tests/lib/",
Expand Down

0 comments on commit ea0cf6a

Please sign in to comment.