chore: all packages update latest version

This commit is contained in:
xiaoxian521
2021-09-09 10:51:29 +08:00
parent 173575687d
commit 03955f7470
16 changed files with 2391 additions and 337 deletions

View File

@@ -8,15 +8,13 @@
"build": "rimraf dist && cross-env vite build",
"preview": "vite preview",
"preview:build": "npm run build && vite preview",
"lint": "eslint --ext .js,.jsx,.vue,.ts,.tsx src",
"lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix",
"lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"",
"lint:stylelint": "stylelint --cache --fix \"**/*.{vue,css,scss,postcss,less}\" --cache --cache-location node_modules/.cache/stylelint/",
"lint-staged": "lint-staged"
},
"husky": {
"hooks": {
"commit-msg": "node scripts/verify-commit.js",
"pre-commit": "npm run lint-staged"
}
"lint:lint-staged": "lint-staged -c ./.husky/lintstagedrc.js",
"lint:pretty": "pretty-quick --staged",
"lint:all": "npm run lint:eslint && npm run lint:prettier && npm run lint:stylelint && npm run lint:pretty",
"prepare": "husky install"
},
"dependencies": {
"@amap/amap-jsapi-loader": "^1.0.1",
@@ -43,7 +41,7 @@
"resize-observer-polyfill": "^1.5.1",
"responsive-storage": "^1.0.4",
"v-contextmenu": "^3.0.0",
"vue": "^3.2.8",
"vue": "^3.2.11",
"vue-i18n": "^9.2.0-beta.3",
"vue-json-pretty": "^2.0.2",
"vue-router": "^4.0.11",
@@ -56,15 +54,17 @@
"xgplayer": "^2.28.0"
},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@types/element-resize-detector": "^1.1.3",
"@types/mockjs": "^1.0.3",
"@types/node": "^14.14.14",
"@types/nprogress": "^0.2.0",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"@vitejs/plugin-vue": "^1.6.0",
"@vitejs/plugin-vue-jsx": "^1.1.7",
"@vue/compiler-sfc": "^3.2.8",
"@vue/compiler-sfc": "^3.2.11",
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/eslint-config-typescript": "^7.0.0",
"autoprefixer": "^10.2.4",
@@ -74,11 +74,12 @@
"eslint": "^7.30.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-vue": "^7.17.0",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"husky": "^7.0.2",
"lint-staged": "^11.1.2",
"postcss": "^8.2.6",
"postcss-import": "^14.0.0",
"prettier": "^2.3.2",
"pretty-quick": "^3.1.1",
"rimraf": "^3.0.2",
"sass": "^1.38.0",
"sass-loader": "^12.1.0",
@@ -87,17 +88,11 @@
"stylelint-config-standard": "^22.0.0",
"stylelint-order": "^4.1.0",
"typescript": "^4.4.2",
"vite": "^2.5.3",
"vite": "^2.5.6",
"vite-plugin-element-plus": "^0.0.12",
"vite-plugin-mock": "^2.9.6",
"vite-plugin-style-import": "^1.2.1",
"vite-svg-loader": "^2.2.0",
"vue-eslint-parser": "^7.10.0"
},
"lint-staged": {
"*.{js,jsx,vue,ts,tsx}": [
"npm run lint",
"git add"
]
}
}