build: delete useless dependencies

This commit is contained in:
陈凯龙 2022-04-15 09:28:50 +08:00
parent 042f4e0416
commit 1ced455cf2
5 changed files with 1725 additions and 7165 deletions

1
.husky/.gitignore vendored
View File

@ -1 +0,0 @@
_

View File

@ -1,9 +0,0 @@
#!/bin/sh
command_exists () {
command -v "$1" >/dev/null 2>&1
}
# Workaround for Windows 10, Git Bash and Yarn
if command_exists winpty && test -t 1; then
exec < /dev/tty
fi

View File

@ -1,10 +1,8 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"
[ -n "$CI" ] && exit 0
# Format and submit code according to lintstagedrc.js configuration
npm run lint:lint-staged
npm run ts:check
npm run lint:pretty
npm run lint:lint-staged

View File

@ -22,8 +22,7 @@
"lint:format": "prettier --write --loglevel warn \"src/**/*.{js,ts,json,tsx,css,less,vue,html,md}\"",
"lint:style": "stylelint --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/",
"lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
"lint:pretty": "pretty-quick --staged",
"postinstall": "husky install",
"prepare": "husky install",
"p": "plop"
},
"dependencies": {
@ -69,7 +68,6 @@
"@vitejs/plugin-vue": "^2.3.1",
"@vitejs/plugin-vue-jsx": "^1.3.10",
"autoprefixer": "^10.4.4",
"commitizen": "^4.2.4",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"eslint-define-config": "^1.3.0",
@ -83,7 +81,6 @@
"postcss-html": "^1.3.1",
"postcss-less": "^6.0.0",
"prettier": "^2.6.2",
"pretty-quick": "^3.1.3",
"rimraf": "^3.0.2",
"stylelint": "^14.6.1",
"stylelint-config-html": "^1.0.0",

File diff suppressed because it is too large Load Diff