change some npm scripts

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2022-11-20 14:17:10 -08:00
parent c3944d476b
commit d284f0ddf2

View File

@ -4,10 +4,11 @@
"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'",
"lint": "eslint **/*.js", "lint-js": "eslint **/*.js",
"fix-style": "eslint --fix **/*.js", "fix-js": "eslint --fix **/*.js",
"lintHTML": "htmlhint **/*.html", "lint-html": "htmlhint **/*.html",
"lintCSS": "stylelint **/*.css", "lint-css": "stylelint **/*.css",
"fix-css": "stylelint --fix **/*.css",
"http-server": "http-server source" "http-server": "http-server source"
}, },
"devDependencies": { "devDependencies": {