add eslint check

This commit is contained in:
XiaoDaiGua-Ray 2023-08-03 11:11:21 +08:00
parent 97b05f52a5
commit 1b5edfb479

View File

@ -3,13 +3,17 @@
"private": false,
"version": "4.1.4",
"type": "module",
"engines": {
"node": ">=16.0.0",
"pnpm": ">=8.0.0"
},
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build --mode production",
"build": "eslint src && vue-tsc --noEmit && vite build --mode production",
"preview": "vite preview",
"test": "vue-tsc --noEmit && vite build --mode test",
"dev-build": "vue-tsc --noEmit && vite build --mode development",
"report": "vue-tsc --noEmit && vite build --mode report",
"test": "eslint src && vue-tsc --noEmit && vite build --mode test",
"dev-build": "eslint src && vue-tsc --noEmit && vite build --mode development",
"report": "eslint src && vue-tsc --noEmit && vite build --mode report",
"prepare": "husky install"
},
"lint-staged": {