Switch from nyc to c8
This commit is contained in:
parent
e18603c91c
commit
2d31508501
1018
package-lock.json
generated
1018
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
10
package.json
10
package.json
@ -22,12 +22,10 @@
|
||||
"prepare": "husky",
|
||||
"lint": "eslint src",
|
||||
"lint-report": "npm run --silent lint -- --format json > .eslint-result.json",
|
||||
"preinstrument": "npm run build --ignore-scripts && rm -fr .xunit coverage dist-instrumented",
|
||||
"instrument": "npx nyc instrument --exclude \"\" dist dist-instrumented",
|
||||
"pretest-reports": "npm run instrument",
|
||||
"test-reports": "npx nyc --exclude \"\" ./node_modules/.bin/mocha --recursive --timeout=10000 --require source-map-support/register 'dist-instrumented/**/*.test.js' --exit && nyc report --reporter cobertura --exclude \"\"",
|
||||
"pretest-reports": "npm run build --ignore-scripts && rm -fr .xunit coverage",
|
||||
"test-reports": "npx c8 --exclude \"\" ./node_modules/.bin/mocha --recursive --timeout=10000 --require source-map-support/register 'dist/**/*.test.js' --exit && c8 report --reporter cobertura --exclude \"\"",
|
||||
"precover-html": "rm -rf coverate/lcov-report",
|
||||
"cover-html": "npm run test-reports && nyc report --reporter lcov --exclude \"\" && xdg-open coverage/lcov-report/index.html"
|
||||
"cover-html": "npm run test-reports && c8 report --reporter lcov --exclude \"\" && xdg-open coverage/lcov-report/index.html"
|
||||
},
|
||||
"tmux-scripts": {
|
||||
"watch": [
|
||||
@ -89,6 +87,7 @@
|
||||
"@types/leaflet": "^1.9.8",
|
||||
"@types/object-hash": "^3.0.6",
|
||||
"@types/simplemde": "^1.11.11",
|
||||
"c8": "^10.1.3",
|
||||
"colord": "^2.9.3",
|
||||
"dotenv": "^16.4.5",
|
||||
"escape-goat": "^4.0.0",
|
||||
@ -132,7 +131,6 @@
|
||||
"kill-port": "^1.6.1",
|
||||
"mocha": "^10.4.0",
|
||||
"mri": "^1.2.0",
|
||||
"nyc": "^15.1.0",
|
||||
"prettier": "^2.2.1",
|
||||
"stylelint": "^16.10.0",
|
||||
"stylelint-config-standard": "^36.0.1",
|
||||
|
Loading…
x
Reference in New Issue
Block a user