565476b96d
CI/CD Deploy (Web) / 构建前端镜像并部署 (push) Successful in 3m19s
删除(非系统管理/待办清单范围): - delta:view/delta、api/delta(后端已同步移除) - kpi:view/kpi(7 页)、api/kpi(7 文件)——后端无对应接口,本为死功能 - api/basic:config/dict-item/notice 均无后端接口且无人引用 - home 死代码:example.vue、notice.vue 及 home.vue 中全部注释模板与死 import 删除依赖(bundle 减重,echarts ~1MB): - echarts / charts 组件(kpi、home 外无人使用) - vue-particles(登录页粒子,随简约化移除) - mathjs(全局注册 $math 但零调用) 删除图片(均零引用): - talkingdata.png 2.8MB、login-bg.jpg 2.1MB、logo.jpg、logo-min.jpg 登录页重设计: - 移除粒子动画,改为浅色渐变背景 + 居中卡片 + 大标题,纯 CSS 零图片 顺带修复 lint 存量问题:移除未使用的 turnTo/canTurnTo、== 改 ===、no-new 注解
76 lines
1.9 KiB
JSON
76 lines
1.9 KiB
JSON
{
|
|
"name": "freedom-web",
|
|
"version": "3.0.0",
|
|
"author": "zhangjiaxun<732128096@qq.com>",
|
|
"private": false,
|
|
"scripts": {
|
|
"dev": "vue-cli-service serve --open",
|
|
"build": "vue-cli-service build",
|
|
"lint": "vue-cli-service lint",
|
|
"test:unit": "vue-cli-service test:unit",
|
|
"test:e2e": "vue-cli-service test:e2e"
|
|
},
|
|
"dependencies": {
|
|
"@riophae/vue-treeselect": "^0.4.0",
|
|
"ali-oss": "^6.5.1",
|
|
"axios": "^0.18.0",
|
|
"clipboard": "^2.0.0",
|
|
"codemirror": "^5.38.0",
|
|
"countup": "^1.8.2",
|
|
"cropperjs": "^1.2.2",
|
|
"dayjs": "^1.7.7",
|
|
"file-saver": "^2.0.2",
|
|
"html2canvas": "^1.0.0-alpha.12",
|
|
"iview-area": "^1.5.17",
|
|
"js-cookie": "^2.2.0",
|
|
"jsencrypt": "^3.0.0-rc.1",
|
|
"jsrsasign": "^8.0.12",
|
|
"qs": "latest",
|
|
"simplemde": "^1.11.2",
|
|
"sortablejs": "^1.7.0",
|
|
"view-design": "^4.5.0",
|
|
"vue": "^2.5.10",
|
|
"vue-i18n": "^7.8.0",
|
|
"vue-quill-editor": "^3.0.6",
|
|
"vue-router": "^3.0.1",
|
|
"vuedraggable": "^2.16.0",
|
|
"vuex": "^3.0.1",
|
|
"wangeditor": "^3.1.1",
|
|
"xlsx": "^0.13.5"
|
|
},
|
|
"devDependencies": {
|
|
"@vue/cli-plugin-babel": "^3.0.1",
|
|
"@vue/cli-plugin-eslint": "^3.0.1",
|
|
"@vue/cli-plugin-unit-mocha": "^3.0.1",
|
|
"@vue/cli-service": "^3.0.1",
|
|
"@vue/eslint-config-standard": "^3.0.0-beta.10",
|
|
"@vue/test-utils": "^1.0.0-beta.10",
|
|
"chai": "^4.1.2",
|
|
"eslint-plugin-cypress": "^2.0.1",
|
|
"less": "^2.7.3",
|
|
"less-loader": "^4.0.5",
|
|
"lint-staged": "^6.0.0",
|
|
"mockjs": "^1.0.1-beta3",
|
|
"script-loader": "^0.7.2",
|
|
"vue-template-compiler": "^2.5.13"
|
|
},
|
|
"browserslist": [
|
|
"> 1%",
|
|
"last 2 versions",
|
|
"not ie <= 8"
|
|
],
|
|
"gitHooks": {
|
|
"pre-commit": "lint-staged"
|
|
},
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"vue-cli-service lint",
|
|
"git add"
|
|
],
|
|
"*.vue": [
|
|
"vue-cli-service lint",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|