Skip to content

Commit

Permalink
switch from nyc to c8 as the former doesn't yet support es6 modules]
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcg committed Dec 16, 2024
1 parent 6fb4453 commit 838beef
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
7 changes: 7 additions & 0 deletions .c8rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"reporter": ["text-summary", "html", "lcov"],
"all": true,
"src": [
"src"
]
}
8 changes: 0 additions & 8 deletions .nycrc

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"prebuild": "rimraf lib && mkdirp lib",
"build": "babel src -d lib",
"lint": "eslint ./src ./test",
"tests-only": "nyc mocha",
"tests-only": "c8 mocha",
"pretest": "npm run lint",
"test": "npm run tests-only"
},
Expand All @@ -41,7 +41,7 @@
"eslint": "^9.17.0",
"mkdirp": "^3.0.1",
"mocha": "^11.0.1",
"nyc": "^17.1.0",
"c8": "^10.1.3",
"rimraf": "^6.0.1"
},
"files": [
Expand Down

0 comments on commit 838beef

Please sign in to comment.