package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "my-vue-app",
  3. "private": true,
  4. "version": "0.0.0",
  5. "type": "module",
  6. "scripts": {
  7. "dev": "vite --mode development",
  8. "build": "vite build --mode production",
  9. "preview": "vite preview",
  10. "electron:dev": "concurrently \"npm run dev\" \"wait-on tcp:8003 && electron .\"",
  11. "electron:build": "cross-env NODE_ENV=production npm run build && electron-builder"
  12. },
  13. "dependencies": {
  14. "@ant-design/icons-vue": "^7.0.1",
  15. "@vue-office/docx": "^1.6.3",
  16. "@vue-office/excel": "^1.7.14",
  17. "@vue-office/pdf": "^2.0.10",
  18. "ant-design-vue": "^4.0.0-rc.6",
  19. "axios": "^1.7.9",
  20. "dayjs": "^1.11.13",
  21. "docx": "^9.1.0",
  22. "echarts": "^5.6.0",
  23. "eventsource-polyfill": "^0.9.6",
  24. "file-saver": "^2.0.5",
  25. "html2pdf.js": "^0.10.2",
  26. "less": "^4.2.1",
  27. "less-loader": "^12.2.0",
  28. "mammoth": "^1.9.1",
  29. "markdown-it": "^14.1.0",
  30. "vue": "^3.5.13",
  31. "vue-router": "^4.5.0",
  32. "vuex": "^4.0.2",
  33. "xlsx": "^0.18.5"
  34. },
  35. "devDependencies": {
  36. "@vitejs/plugin-vue": "^5.2.1",
  37. "@vitejs/plugin-vue-jsx": "^4.1.1",
  38. "babel-plugin-import": "^1.13.8",
  39. "concurrently": "^9.1.2",
  40. "cross-env": "^7.0.3",
  41. "electron": "^33.3.1",
  42. "electron-builder": "^25.1.8",
  43. "style-resources-loader": "^1.5.0",
  44. "vite": "^6.0.5",
  45. "vue-cli-plugin-style-resources-loader": "^0.1.5",
  46. "wait-on": "^8.0.2"
  47. },
  48. "main": "electron/main.js",
  49. "build": {
  50. "appId": "com.your.app",
  51. "productName": "raycos-chat",
  52. "directories": {
  53. "output": "release"
  54. },
  55. "win": {
  56. "target": [
  57. "nsis"
  58. ],
  59. "icon": "build/icons/icon.ico"
  60. },
  61. "nsis": {
  62. "oneClick": false,
  63. "allowToChangeInstallationDirectory": true,
  64. "createDesktopShortcut": true
  65. },
  66. "files": [
  67. "dist/**/*",
  68. "electron/**/*"
  69. ]
  70. },
  71. "description": "This is a desktop application for chat search with AI",
  72. "author": {
  73. "name": "Raycos Tech. Co., Ltd.",
  74. "email": "hongrui@raycos.com.cn"
  75. }
  76. }