mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2026-11-07 01:18:54 +08:00
- 清理:删除 4 个未使用依赖、约 2700 行死代码(shop/ossManage 等)、tree-table 死组件、37 处未使用 import - ESLint 9 flat config 升级(.eslintrc.js -> eslint.config.js),修复迁移遗留的 34 处真实 bug - axios 重构:拦截器不再吞错、refreshToken 单例共享 Promise、超时收敛、form 序列化抽公共函数、vue-router 4 失效 API 修正 - 安全:4 处 v-html 增加 xss 过滤;logout 改为精确删除 localStorage 键 - API 重复定义收敛(delSpec/insertOrUpdateSpec、getDictData、ws) - 首屏瘦身:tinymce 懒加载(约省 7.4MB)、core-js 按需 polyfill、vendor chunk 合并、dplayer/@antv/g2 动态 import、3 张大图压缩 - 页面修复:发布商品表单布局(iview 遗留 margin 移除)、beforeVideoUpload 补定义、el-tag type 空值、lili-dialog emits 声明、消息中心布局塌陷修复与样式重构、department-choose 空值、affix-time 不再发多余店铺请求、goods/distributionGoods 去掉品牌筛选
64 lines
1.6 KiB
JSON
64 lines
1.6 KiB
JSON
{
|
|
"name": "lilishop",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "lilishop-ui",
|
|
"author": "lili-platform",
|
|
"engines": {
|
|
"node": ">=16"
|
|
},
|
|
"scripts": {
|
|
"serve": "vue-cli-service serve",
|
|
"dev": "vue-cli-service serve",
|
|
"build": "vue-cli-service build",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix"
|
|
},
|
|
"dependencies": {
|
|
"@amap/amap-jsapi-loader": "0.0.7",
|
|
"@antv/g2": "^4.1.14",
|
|
"@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",
|
|
"sass": "^1.63.6",
|
|
"sass-loader": "^10.4.1",
|
|
"swiper": "^6.3.5",
|
|
"uuid": "^8.3.2",
|
|
"vue": "^3.5.35",
|
|
"vue-lazyload": "^3.0.0",
|
|
"vue-qr": "^5.0.3",
|
|
"vue-router": "^4.6.4",
|
|
"vuedraggable": "^4.1.0",
|
|
"vuex": "^4.1.0",
|
|
"xss": "^1.0.7"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@vue/cli-plugin-babel": "^5.0.9",
|
|
"@vue/cli-plugin-router": "^5.0.9",
|
|
"@vue/cli-plugin-vuex": "^5.0.9",
|
|
"@vue/cli-service": "^5.0.9",
|
|
"@vue/compiler-sfc": "^3.5.35",
|
|
"compression-webpack-plugin": "^10.0.0",
|
|
"css-loader": "^6.10.0",
|
|
"eslint": "^9",
|
|
"eslint-plugin-vue": "^10",
|
|
"globals": "^17.13.0",
|
|
"less": "^4.2.0",
|
|
"less-loader": "^11.1.4",
|
|
"style-loader": "^3.3.4",
|
|
"style-resources-loader": "^1.5.0",
|
|
"vue-cli-plugin-style-resources-loader": "^0.1.5",
|
|
"vue-eslint-parser": "^10",
|
|
"webpack": "^5.95.0"
|
|
},
|
|
"resolutions": {
|
|
"minimatch": "^3.1.2",
|
|
"@achrinza/node-ipc": "9.2.2"
|
|
}
|
|
}
|