package.json 1.8 KB

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