Switch from nyc to c8
[e-mobility-charging-stations-simulator.git] / package.json
index f6d0d004de0d173aaf599dda38563fcbf0e7fdf2..d0a9c6c959a8e7e01e74a7654e21cd4dabf83103 100644 (file)
@@ -60,9 +60,9 @@
     "lint": "cross-env TIMING=1 eslint --cache --ext .js,.ts src",
     "lint:fix": "cross-env TIMING=1 eslint --cache --fix --ext .js,.ts src",
     "format": "prettier --write .",
-    "test": "nyc mocha test/**/*Test.ts",
-    "coverage": "nyc report --reporter=lcov",
-    "coverage:html": "nyc report --reporter=html",
+    "test": "c8 mocha test/**/*Test.ts",
+    "coverage": "c8 report --reporter=lcov",
+    "coverage:html": "c8 report --reporter=html",
     "clinic:clean": "clinic clean",
     "robohydra": "robohydra test/robohydra/config.json",
     "git:sinit": "git submodule update --init --recursive --force",
     "@typescript-eslint/eslint-plugin": "^5.40.1",
     "@typescript-eslint/parser": "^5.40.1",
     "auto-changelog": "^2.4.0",
+    "c8": "^7.12.0",
     "clinic": "^12.0.0",
     "cross-env": "^7.0.3",
     "eslint": "^8.25.0",
     "lint-staged": "^13.0.3",
     "mocha": "^10.1.0",
     "mochawesome": "^7.1.3",
-    "nyc": "^15.1.0",
     "prettier": "^2.7.1",
     "release-it": "^15.5.0",
     "robohydra": "^0.6.9",