package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "name": "@media-manager/client",
  3. "version": "1.0.0",
  4. "description": "智媒通桌面客户端",
  5. "main": "dist-electron/main.js",
  6. "scripts": {
  7. "dev": "vite",
  8. "build": "vite build && electron-builder",
  9. "build:vite": "vite build",
  10. "preview": "vite preview",
  11. "electron:dev": "vite --mode electron",
  12. "electron:build": "vite build && electron-builder",
  13. "lint": "eslint src --ext .ts,.vue",
  14. "generate-icons": "node scripts/generate-icons.js"
  15. },
  16. "dependencies": {
  17. "@element-plus/icons-vue": "^2.3.1",
  18. "@media-manager/shared": "workspace:*",
  19. "axios": "^1.6.5",
  20. "dayjs": "^1.11.10",
  21. "echarts": "^5.4.3",
  22. "element-plus": "^2.5.3",
  23. "pinia": "^2.1.7",
  24. "vue": "^3.4.15",
  25. "vue-echarts": "^6.6.8",
  26. "vue-i18n": "^9.9.0",
  27. "vue-router": "^4.2.5",
  28. "xlsx": "^0.18.5"
  29. },
  30. "devDependencies": {
  31. "@types/node": "^20.10.6",
  32. "@typescript-eslint/eslint-plugin": "^6.18.0",
  33. "@typescript-eslint/parser": "^6.18.0",
  34. "@vitejs/plugin-vue": "^5.0.3",
  35. "@vue/tsconfig": "^0.5.1",
  36. "electron": "^28.1.3",
  37. "electron-builder": "^24.9.1",
  38. "eslint": "^8.56.0",
  39. "eslint-plugin-vue": "^9.20.0",
  40. "sass": "^1.69.7",
  41. "sharp": "^0.34.5",
  42. "typescript": "^5.3.3",
  43. "unplugin-auto-import": "^0.17.3",
  44. "unplugin-vue-components": "^0.26.0",
  45. "vite": "^5.0.11",
  46. "vite-plugin-electron": "^0.28.0",
  47. "vite-plugin-electron-renderer": "^0.14.5",
  48. "vue-tsc": "^1.8.27"
  49. },
  50. "build": {
  51. "appId": "com.media-manager.app",
  52. "productName": "智媒通",
  53. "electronVersion": "28.1.3",
  54. "directories": {
  55. "output": "release"
  56. },
  57. "files": [
  58. "dist/**/*",
  59. "dist-electron/**/*"
  60. ],
  61. "extraResources": [
  62. {
  63. "from": "public/icons",
  64. "to": "icons"
  65. }
  66. ],
  67. "win": {
  68. "target": [
  69. "nsis",
  70. "portable"
  71. ],
  72. "icon": "build/icon.png"
  73. },
  74. "mac": {
  75. "target": [
  76. "dmg",
  77. "zip"
  78. ],
  79. "icon": "build/icon.png"
  80. },
  81. "linux": {
  82. "target": [
  83. "AppImage",
  84. "deb"
  85. ],
  86. "icon": "build/icon.png"
  87. },
  88. "nsis": {
  89. "oneClick": false,
  90. "allowToChangeInstallationDirectory": true,
  91. "createDesktopShortcut": true
  92. }
  93. }
  94. }