package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. {
  2. "name": "SmartChat",
  3. "version": "1.0.0",
  4. "main": "electron.main.js",
  5. "keywords": [],
  6. "author": "",
  7. "license": "ISC",
  8. "description": "Smart Chat App",
  9. "scripts": {
  10. "dev": "cross-env NODE_ENV=development vite",
  11. "electron:serve": "cross-env NODE_ENV=development concurrently \"npm run dev\" \"wait-on http://localhost:5173 && electron .\"",
  12. "build": "cross-env NODE_ENV=production vite build",
  13. "electron:build": "cross-env NODE_ENV=production vite build && electron-builder",
  14. "doc": "vitepress dev docs --port 5174 --host",
  15. "doc-build": "vitepress build docs"
  16. },
  17. "devDependencies": {
  18. "@vitejs/plugin-vue": "5.2.1",
  19. "concurrently": "8.2.1",
  20. "cross-env": "7.0.3",
  21. "electron": "25.3.1",
  22. "electron-builder": "23.6.0",
  23. "eslint": "9.16.0",
  24. "eslint-plugin-vue": "9.32.0",
  25. "vite": "5.4.11",
  26. "vitepress": "1.5.0",
  27. "wait-on": "7.0.1"
  28. },
  29. "dependencies": {
  30. "@arco-design/web-vue": "2.56.3",
  31. "@microsoft/fetch-event-source": "2.0.1",
  32. "@wangeditor/editor": "^5.1.23",
  33. "@wangeditor/editor-for-vue": "^5.1.12",
  34. "axios": "1.7.8",
  35. "clipboard": "2.0.11",
  36. "dayjs": "1.11.13",
  37. "docx-preview": "0.3.3",
  38. "echarts": "^5.6.0",
  39. "electron-store": "^8.2.0",
  40. "file-saver": "^2.0.5",
  41. "filesize": "10.1.6",
  42. "highlight.js": "11.10.0",
  43. "html-docx-js-typescript": "^0.1.5",
  44. "js-cookie": "3.0.5",
  45. "jsencrypt": "^3.3.1",
  46. "katex": "^0.16.22",
  47. "marked": "13.0.0",
  48. "md5": "2.3.0",
  49. "mitt": "3.0.1",
  50. "pinia": "2.2.8",
  51. "postcss-pxtorem": "^6.1.0",
  52. "screenfull": "6.0.2",
  53. "vue": "3.5.13",
  54. "vue-i18n": "10.0.5",
  55. "vue-router": "4.5.0",
  56. "wujie-vue3": "1.0.23"
  57. },
  58. "build": {
  59. "appId": "com.example.damoxing_desk",
  60. "productName": "智库问答助手",
  61. "directories": {
  62. "output": "dist_electron"
  63. },
  64. "icon": "tray-icon.png",
  65. "files": [
  66. "dist/**/*",
  67. "electron.main.js",
  68. "preload.js",
  69. "public/logo.png"
  70. ],
  71. "extraResources": [
  72. {
  73. "from": "tray-icon.png",
  74. "to": "tray-icon.png"
  75. }
  76. ],
  77. "nsis": {
  78. "oneClick": false,
  79. "allowToChangeInstallationDirectory": true,
  80. "createDesktopShortcut": true,
  81. "createStartMenuShortcut": true,
  82. "shortcutName": "智库问答助手"
  83. }
  84. }
  85. }