Skip to content

Commit

Permalink
Switch to c8
Browse files Browse the repository at this point in the history
  • Loading branch information
macmv committed Oct 13, 2023
1 parent 4d3ac9f commit 3d062ed
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 453 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"@types/node": "^20.6.0",
"@types/node-fetch": "^2.6.6",
"@typescript-eslint/parser": "6.7.3",
"c8": "^8.0.1",
"chai": "^4.2.0",
"eslint": "^8.10.0",
"eslint-config-oclif": "^1.5.1",
Expand All @@ -53,7 +54,6 @@
"mocha": "^10.2.0",
"mock-require": "^3.0.3",
"nock": "^13.1.0",
"nyc": "^14.1.1",
"oclif": "^3.9.2",
"prettier": "^2.3.0",
"sinon": "^11.1.1",
Expand Down Expand Up @@ -108,8 +108,8 @@
"postpack": "rm -f oclif.manifest.json",
"prepack": "yarn build && oclif manifest",
"pretest": "yarn fixlint",
"local-test": "export $(cat .env | xargs); nyc mocha --forbid-only \"test/**/*.test.{js,ts}\"",
"test": "export $(cat .env.test | xargs); nyc mocha --forbid-only \"test/**/*.test.{js,ts}\"",
"local-test": "export $(cat .env | xargs); c8 -r text mocha --forbid-only \"test/**/*.test.{js,ts}\"",
"test": "export $(cat .env.test | xargs); c8 -r html mocha --forbid-only \"test/**/*.test.{js,ts}\"",
"lint": "eslint .",
"fixlint": "eslint . --fix",
"version": "oclif-dev readme && git add README.md",
Expand Down
Loading

0 comments on commit 3d062ed

Please sign in to comment.