|
@@ -18,10 +18,8 @@
|
|
|
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,build}/**/*.{vue,js,ts,tsx}\" --fix",
|
|
|
"lint:prettier": "prettier --write \"src/**/*.{js,ts,json,tsx,css,scss,vue,html,md}\"",
|
|
|
"lint:stylelint": "stylelint \"**/*.{html,vue,css,scss}\" --fix --cache --cache-location node_modules/.cache/stylelint/",
|
|
|
- "lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
|
|
|
"lint:pretty": "pretty-quick --staged",
|
|
|
"lint": "pnpm lint:eslint && pnpm lint:prettier && pnpm lint:stylelint",
|
|
|
- "prepare": "husky install",
|
|
|
"preinstall": "npx only-allow pnpm"
|
|
|
},
|
|
|
"browserslist": [
|
|
@@ -83,7 +81,6 @@
|
|
|
"eslint-define-config": "^2.1.0",
|
|
|
"eslint-plugin-prettier": "^5.0.0",
|
|
|
"eslint-plugin-vue": "^9.15.1",
|
|
|
- "husky": "^8.0.3",
|
|
|
"lint-staged": "^13.2.2",
|
|
|
"picocolors": "^1.0.0",
|
|
|
"postcss": "^8.4.31",
|