package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. "file-saver": "^2.0.5",
  23. "html2pdf.js": "^0.10.2",
  24. "less": "^4.2.1",
  25. "less-loader": "^12.2.0",
  26. "mammoth": "^1.9.1",
  27. "markdown-it": "^14.1.0",
  28. "vue": "^3.5.13",
  29. "vue-router": "^4.5.0",
  30. "vuex": "^4.0.2",
  31. "xlsx": "^0.18.5"
  32. },
  33. "devDependencies": {
  34. "@vitejs/plugin-vue": "^5.2.1",
  35. "@vitejs/plugin-vue-jsx": "^4.1.1",
  36. "babel-plugin-import": "^1.13.8",
  37. "concurrently": "^9.1.2",
  38. "cross-env": "^7.0.3",
  39. "electron": "^33.3.1",
  40. "electron-builder": "^25.1.8",
  41. "style-resources-loader": "^1.5.0",
  42. "vite": "^6.0.5",
  43. "vue-cli-plugin-style-resources-loader": "^0.1.5",
  44. "wait-on": "^8.0.2"
  45. },
  46. "main": "electron/main.js",
  47. "build": {
  48. "appId": "com.your.app",
  49. "productName": "raycos-chat",
  50. "directories": {
  51. "output": "release"
  52. },
  53. "win": {
  54. "target": [
  55. "nsis"
  56. ],
  57. "icon": "build/icons/icon.ico"
  58. },
  59. "nsis": {
  60. "oneClick": false,
  61. "allowToChangeInstallationDirectory": true,
  62. "createDesktopShortcut": true
  63. },
  64. "files": [
  65. "dist/**/*",
  66. "electron/**/*"
  67. ]
  68. },
  69. "description": "This is a desktop application for chat search with AI",
  70. "author": {
  71. "name": "Raycos Tech. Co., Ltd.",
  72. "email": "hongrui@raycos.com.cn"
  73. }
  74. }