Skip to content

Commit

Permalink
Replace nyc with c8
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Aug 13, 2021
1 parent 1905f6f commit fc38477
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
.DS_Store
*.log
.nyc_output/
coverage/
node_modules/
packages/franc-all/index.js
Expand Down
12 changes: 3 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)",
"devDependencies": {
"alpha-sort": "^3.0.0",
"c8": "^7.0.0",
"format": "^0.2.0",
"human-format": "^0.11.0",
"is-hidden": "^1.0.0",
"iso-639-3": "^2.0.0",
"lerna": "^3.0.0",
"negate": "^1.0.0",
"nyc": "^15.0.0",
"parse-author": "^2.0.0",
"prettier": "^2.0.0",
"remark-cli": "^9.0.0-alpha.1",
Expand All @@ -37,16 +37,10 @@
"postinstall": "lerna bootstrap --no-ci",
"generate": "node script/build",
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
"test-api": "node test",
"test-coverage": "nyc --reporter lcov tape test/index.js",
"test-api": "node --conditions development test/index.js",
"test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api",
"test": "npm run generate && npm run format && npm run test-coverage"
},
"nyc": {
"check-coverage": true,
"lines": 100,
"functions": 100,
"branches": 100
},
"prettier": {
"tabWidth": 2,
"useTabs": false,
Expand Down

0 comments on commit fc38477

Please sign in to comment.