|
@@ -12,8 +12,7 @@
|
|
|
"report": "cross-env REPORT=true npm run build",
|
|
|
"preview": "npm run build && vite preview --host",
|
|
|
"type:check": "vue-tsc --noEmit --skipLibCheck",
|
|
|
- "lint-staged": "npx lint-staged",
|
|
|
- "prepare": "husky install"
|
|
|
+ "lint-staged": "npx lint-staged"
|
|
|
},
|
|
|
"lint-staged": {
|
|
|
"*.{js,ts,jsx,tsx}": [
|
|
@@ -72,7 +71,6 @@
|
|
|
"eslint-plugin-import": "^2.26.0",
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
|
"eslint-plugin-vue": "^9.6.0",
|
|
|
- "husky": "^8.0.1",
|
|
|
"less": "^4.1.3",
|
|
|
"lint-staged": "^13.0.3",
|
|
|
"mockjs": "^1.1.0",
|
|
@@ -97,4 +95,4 @@
|
|
|
"rollup": "^2.56.3",
|
|
|
"gifsicle": "5.2.0"
|
|
|
}
|
|
|
-}
|
|
|
+}
|