lida-app/package.json
minglipro 05822f2fd2
build:优化代码结构和安全性
- 添加代码混淆插件和分包插件
- 更新 .gitignore 文件,忽略自动导入文件
- 删除无用的类型定义文件
- 移除 VS Code 扩展推荐文件
-优化 Vite 配置,美化构建输出结构
2025-08-20 19:01:36 +08:00

59 lines
1.5 KiB
JSON

{
"name": "lida-app",
"version": "0.0.0",
"private": true,
"type": "module",
"engines": {
"node": "^20.19.0 || >=22.12.0"
},
"scripts": {
"dev": "vite",
"d": "vite",
"build": "run-p type-check \"build-only {@}\" --",
"preview": "vite preview",
"p": "vite preview",
"build-only": "vite build",
"b": "vite build",
"bp": "yarn b && yarn p",
"type-check": "vue-tsc --build",
"format": "prettier --write src/"
},
"dependencies": {
"@idux/cdk": "^2.6.3",
"@idux/components": "^2.6.3",
"@idux/pro": "^2.6.3",
"@types/vue-router": "^2.0.0",
"@vueuse/core": "^13.6.0",
"alova": "^3.3.4",
"ant-design-vue": "^4.2.6",
"base64-arraybuffer": "^1.0.2",
"javascript-obfuscator": "^4.1.1",
"js-md5": "^0.8.3",
"marked": "^16.1.2",
"naive-ui": "^2.42.0",
"pinia": "^3.0.3",
"pinia-plugin-persistedstate": "^4.5.0",
"sass-embedded": "^1.90.0",
"vite-plugin-bundle-obfuscator": "^1.8.0",
"vue": "^3.5.18",
"vue-router": "^4.5.1"
},
"devDependencies": {
"@iconify/vue": "^5.0.0",
"@tsconfig/node22": "^22.0.2",
"@types/node": "^22.16.5",
"@vitejs/plugin-vue": "^6.0.1",
"@vue/tsconfig": "^0.7.0",
"npm-run-all2": "^8.0.4",
"prettier": "3.6.2",
"typescript": "~5.8.0",
"unplugin-auto-import": "^20.0.0",
"unplugin-vue-components": "^29.0.0",
"vite": "^7.0.6",
"vite-plugin-chunk-split": "^0.5.0",
"vite-plugin-obfuscator": "^1.0.5",
"vite-plugin-vue-devtools": "^8.0.0",
"vue-tsc": "^3.0.4"
}
}