mirror of
https://github.com/fugary/simple-element-plus-template.git
synced 2026-09-11 09:23:53 +00:00
- 升级核心依赖:vue 3.5.41、vue-router 5.2.0、vue-i18n 11.4.2、element-plus 2.14.4 - 升级工具依赖:@vueuse/core 14.4.0、pinia 3.0.4、vue-virtual-scroller 2.0.1(正式版) - 升级图表依赖:echarts 6.1.0、vue-echarts 8.1.0 - 升级 axios 1.19.0、dayjs 1.11.23、lodash-es 4.18.1、monaco-editor 0.56.0 - 升级构建工具:vite 7.3.6、@vitejs/plugin-vue 6.0.8、@vitejs/plugin-vue-jsx 5.1.6 - 升级 @typescript-eslint 8.67.0、@rushstack/eslint-patch 1.16.1 - package.json 新增 engines 字段声明 Node >= 20.0.0 - 优化 vite.config.mjs:eslint 和 mock 插件仅在 dev 模式启用,避免构建阻塞 - 构建分包策略:monaco-editor 独立拆包 monaco chunk - 修复 monaco-editor 0.56.0 worker 导入路径(适配新版 exports 字段) - 新增 acorn ^8.14.0 dev 依赖修复 ESLint 模块解析问题 - .eslintrc.js 关闭 vue/no-v-html 规则以支持动态内容渲染 - README.md 补充 Node.js >= 20.0.0 环境要求说明
62 lines
1.7 KiB
JSON
62 lines
1.7 KiB
JSON
{
|
|
"name": "simple-element-plus-template",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "vite --host",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
|
|
"hmr": "vite --debug hmr"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/fugary/simple-element-plus-template"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@element-plus/icons-vue": "^2.3.2",
|
|
"@guolao/vue-monaco-editor": "^1.6.0",
|
|
"@howiefh/ant-path-matcher": "^0.0.4",
|
|
"@vicons/material": "^0.13.0",
|
|
"@vueuse/core": "^14.4.0",
|
|
"async-validator": "^4.2.5",
|
|
"axios": "^1.19.0",
|
|
"dayjs": "^1.11.23",
|
|
"echarts": "^6.1.0",
|
|
"element-plus": "^2.14.4",
|
|
"lodash-es": "^4.18.1",
|
|
"monaco-editor": "^0.56.0",
|
|
"nprogress": "^0.2.0",
|
|
"numeral": "^2.0.6",
|
|
"pinia": "^3.0.4",
|
|
"pinia-plugin-persistedstate": "^4.7.1",
|
|
"sortablejs": "^1.15.7",
|
|
"split.js": "^1.6.5",
|
|
"ua-parser-js": "^2.0.10",
|
|
"vite-plugin-mock": "^3.0.2",
|
|
"vue": "^3.5.41",
|
|
"vue-echarts": "^8.1.0",
|
|
"vue-i18n": "^11.4.2",
|
|
"vue-router": "^5.2.0",
|
|
"vue-virtual-scroller": "^2.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@rushstack/eslint-patch": "^1.16.1",
|
|
"@typescript-eslint/eslint-plugin": "^8.67.0",
|
|
"@typescript-eslint/parser": "^8.67.0",
|
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
"@vitejs/plugin-vue-jsx": "^5.1.6",
|
|
"@vue/eslint-config-standard": "^8.0.1",
|
|
"acorn": "^8.14.0",
|
|
"eslint": "^8.57.1",
|
|
"eslint-plugin-vue": "^9.33.0",
|
|
"rollup-plugin-visualizer": "^6.0.11",
|
|
"typescript": "^5.9.3",
|
|
"vite": "^7.3.6",
|
|
"vite-plugin-eslint": "^1.8.1"
|
|
}
|
|
}
|