更新依赖,修改lint配置

This commit is contained in:
Hooray
2023-03-28 01:14:35 +08:00
parent a83a8213e1
commit b6e47b6f6d
8 changed files with 75 additions and 54 deletions
+6 -6
View File
@@ -7,8 +7,8 @@
"new": "plop",
"lint": "npm-run-all -s lint:tsc lint:eslint lint:stylelint",
"lint:tsc": "vue-tsc --noEmit",
"lint:eslint": "eslint src/**/*.{ts,tsx,vue} --cache --fix",
"lint:stylelint": "stylelint src/**/*.{css,scss,vue} --cache --fix",
"lint:eslint": "eslint src/**/*.{ts,tsx,vue} --cache --fix --no-ignore --no-error-on-unmatched-pattern",
"lint:stylelint": "stylelint src/**/*.{css,scss,vue} --cache --fix --allow-empty-input",
"postinstall": "simple-git-hooks && esno scripts/prepare.js",
"preinstall": "npx only-allow pnpm"
},
@@ -52,17 +52,17 @@
"npm-run-all": "^4.1.5",
"plop": "^3.1.2",
"postcss-html": "^1.5.0",
"sass": "^1.59.3",
"sass": "^1.60.0",
"simple-git-hooks": "^2.8.1",
"stylelint": "^15.3.0",
"stylelint-config-standard": "^31.0.0",
"stylelint-config-standard-scss": "^7.0.1",
"stylelint-config-standard-vue": "^1.0.0",
"stylelint-scss": "^4.5.0",
"stylelint-scss": "^4.6.0",
"svgo": "^3.0.2",
"terser": "^5.16.6",
"terser": "^5.16.8",
"typescript": "^5.0.2",
"unplugin-auto-import": "^0.15.1",
"unplugin-auto-import": "^0.15.2",
"unplugin-vue-components": "^0.24.1",
"vite": "^4.2.1",
"vite-plugin-banner": "^0.7.0",