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/* **/node_modules/*
**/package-lock.json **/package-lock.json
**/.vscode/* **/.vscode/*
**/.nyc_output/* **/.nyc_output/*
**/coverage/*

View File

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