mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-11-07 01:18:54 +08:00
- 新增 eslint.config.js(flat config, vue3-essential),移除废弃的 .eslintrc.js/.eslintignore(引用已废弃的 babel-eslint),package.json 增加 lint/lint:fix 脚本 - 清理 17 处调试 console.log;修复 24 处空 catch(15 处补 console.warn 业务提示,9 处加注释说明可安全忽略) - 修复存量 lint error:9 处 prop 默认值改为函数形式、3 处未使用组件、1 处 v-if/v-for 同级、1 处空 else - vue.config.js 生产环境 terser 开启 drop_console 兜底
56 lines
1.3 KiB
JSON
56 lines
1.3 KiB
JSON
{
|
|
"name": "lilishop",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"serve": "vue-cli-service serve",
|
|
"build": "vue-cli-service build",
|
|
"dev": "vue-cli-service serve",
|
|
"lint": "eslint src",
|
|
"lint:fix": "eslint src --fix"
|
|
},
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"dependencies": {
|
|
"@amap/amap-jsapi-loader": "0.0.7",
|
|
"@element-plus/icons-vue": "^2.3.2",
|
|
"axios": "^1.7.9",
|
|
"core-js": "^3.49.0",
|
|
"dplayer": "^1.27.1",
|
|
"element-plus": "^2.14.1",
|
|
"js-cookie": "^2.2.1",
|
|
"nprogress": "^0.2.0",
|
|
"psl": "^1.8.0",
|
|
"qs": "^6.9.4",
|
|
"sass": "^1.63.6",
|
|
"sass-loader": "^10.4.1",
|
|
"uuid": "^8.3.2",
|
|
"vue": "^3.5.35",
|
|
"vue-qr": "^5.0.3",
|
|
"vue-router": "^4.6.4",
|
|
"vuex": "^4.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@vue/cli-plugin-babel": "^5.0.9",
|
|
"@vue/cli-service": "^5.0.9",
|
|
"@vue/compiler-sfc": "^3.5.35",
|
|
"compression-webpack-plugin": "^10.0.0",
|
|
"eslint": "^9.39.4",
|
|
"eslint-plugin-vue": "^10.11.1",
|
|
"globals": "^17.13.0",
|
|
"less": "^4.2.0",
|
|
"less-loader": "^11.1.4",
|
|
"webpack": "^5.95.0"
|
|
},
|
|
"browserslist": [
|
|
"> 1%",
|
|
"last 2 versions",
|
|
"not dead"
|
|
],
|
|
"resolutions": {
|
|
"minimatch": "^3.1.2",
|
|
"@achrinza/node-ipc": "9.2.2"
|
|
}
|
|
}
|