build(projects): update tsconfig、eslintrc

This commit is contained in:
Soybean
2022-03-12 16:21:40 +08:00
parent 4093dcd6dc
commit 75de2b0604
131 changed files with 1174 additions and 1140 deletions

View File

@ -4,16 +4,16 @@
"scripts": {
"dev": "cross-env VITE_HTTP_ENV=test vite",
"dev:prod": "cross-env VITE_HTTP_ENV=prod vite",
"typecheck": "vue-tsc --noEmit",
"build": "npm run typecheck && cross-env VITE_HTTP_ENV=prod vite build",
"build:test": "npm run typecheck && cross-env VITE_HTTP_ENV=test vite build",
"build:vercel": "cross-env VITE_HASH_ROUTE=true vite build",
"preview": "vite preview --port 5050",
"release": "standard-version",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md",
"lint": "eslint --fix ./ --ext .vue,.js,jsx,.ts,tsx",
"typecheck": "vue-tsc --noEmit",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"prepare": "husky install",
"postinstall": "patch-package"
"postinstall": "patch-package",
"release": "standard-version",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md"
},
"lint-staged": {
"*.{vue,js,jsx,ts,tsx}": "eslint --fix"
@ -24,17 +24,17 @@
}
},
"dependencies": {
"@antv/g2plot": "^2.4.9",
"@antv/g2plot": "^2.4.10",
"@better-scroll/core": "^2.4.2",
"@vueuse/core": "^7.7.1",
"axios": "^0.26.0",
"@vueuse/core": "^8.0.0",
"axios": "^0.26.1",
"clipboard": "^2.0.10",
"colord": "^2.9.2",
"crypto-js": "^4.1.1",
"dayjs": "^1.10.8",
"form-data": "^4.0.0",
"lodash-es": "^4.17.21",
"naive-ui": "^2.26.0",
"naive-ui": "^2.26.4",
"pinia": "^2.0.11",
"print-js": "^1.6.0",
"qs": "^6.10.3",
@ -44,7 +44,7 @@
"ua-parser-js": "^1.0.2",
"vditor": "^3.8.12",
"vue": "^3.2.31",
"vue-router": "^4.0.13",
"vue-router": "^4.0.14",
"wangeditor": "^4.7.12",
"xgplayer": "^2.31.4"
},
@ -52,15 +52,15 @@
"@amap/amap-jsapi-types": "^0.0.8",
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@iconify/json": "^2.1.11",
"@iconify/json": "^2.1.14",
"@iconify/vue": "^3.1.4",
"@types/bmapgl": "^0.0.5",
"@types/crypto-js": "^4.1.1",
"@types/node": "^17.0.21",
"@types/qs": "^6.9.7",
"@types/ua-parser-js": "^0.7.36",
"@typescript-eslint/eslint-plugin": "^5.13.0",
"@typescript-eslint/parser": "^5.13.0",
"@typescript-eslint/eslint-plugin": "^5.14.0",
"@typescript-eslint/parser": "^5.14.0",
"@vitejs/plugin-vue": "^2.2.4",
"@vue/eslint-config-prettier": "^7.0.0",
"@vue/eslint-config-typescript": "^10.0.0",
@ -69,7 +69,7 @@
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^6.3.0",
"eslint": "^8.10.0",
"eslint": "^8.11.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.4",
@ -83,9 +83,9 @@
"prettier": "^2.5.1",
"rollup-plugin-visualizer": "^5.6.0",
"sass": "^1.49.9",
"typescript": "~4.5.5",
"unplugin-icons": "^0.13.2",
"unplugin-vue-components": "^0.17.21",
"typescript": "~4.6.2",
"unplugin-icons": "^0.13.3",
"unplugin-vue-components": "^0.18.0",
"vite": "2.8.6",
"vite-plugin-html": "^3.1.0",
"vite-plugin-mock": "^2.9.6",