switch to c8

This commit is contained in:
Arthur Lu 2022-12-04 19:38:52 -08:00
parent 6d8dc93543
commit 35c8619f87
2 changed files with 4 additions and 3 deletions

3
.gitignore vendored
View File

@ -2,4 +2,5 @@
**/node_modules/*
**/package-lock.json
**/.vscode/*
**/.nyc_output/*
**/.nyc_output/*
**/coverage/*

View File

@ -4,7 +4,7 @@
"type": "module",
"scripts": {
"test": "mocha --recursive --require mock-local-storage './{,!(node_modules)/**}/*.test.js'",
"coverage": "nyc --all npm run test",
"coverage": "c8 npm run test",
"lint-js": "eslint **/*.js",
"fix-js": "eslint --fix **/*.js",
"lint-html": "htmlhint **/*.html",
@ -16,12 +16,12 @@
"js-doc": "jsdoc -d source/docs/ -r source/"
},
"devDependencies": {
"c8": "^7.12.0",
"eslint": "^8.27.0",
"htmlhint": "1.1.4",
"http-server": "",
"mocha": "10",
"mock-local-storage": "^1.1.23",
"nyc": "^14.0.0",
"prettier": "2.8.0",
"puppeteer": "^18.2.1",
"stylelint": "14.14.1",