package.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. {
  2. "name": "jianyin_agent",
  3. "version": "2.4.3",
  4. "description": "Your project description here",
  5. "author": "Your Name or Company",
  6. "main": "main.js",
  7. "scripts": {
  8. "start": "electron .",
  9. "start-web": "webpack serve --open --config webpack.config.js",
  10. "build": "webpack --config webpack.config.js",
  11. "mac": "electron-builder --mac",
  12. "win": "electron-builder --win -w zip -w nsis",
  13. "watch": "nodemon --watch ./src --exec 'npm run build && electron .'",
  14. "start-electron": "concurrently \"npm run start-web\" \"wait-on http://localhost:9000 && electron .\"",
  15. "app": "electron ."
  16. },
  17. "devDependencies": {
  18. "@babel/core": "^7.14.0",
  19. "@babel/preset-env": "^7.14.1",
  20. "@babel/preset-react": "^7.13.13",
  21. "babel-loader": "^8.2.2",
  22. "concurrently": "^7.3.0",
  23. "copy-webpack-plugin": "^12.0.2",
  24. "css-loader": "^5.2.4",
  25. "electron": "^31.3.1",
  26. "electron-builder": "^23.0.3",
  27. "electron-packager": "^17.1.0",
  28. "electron-reload": "^1.5.0",
  29. "file-loader": "^6.2.0",
  30. "html-webpack-plugin": "^5.5.3",
  31. "process": "^0.11.10",
  32. "react-bootstrap": "^2.8.0",
  33. "style-loader": "^2.0.0",
  34. "wait-on": "^6.0.0",
  35. "webpack": "^5.37.0",
  36. "webpack-cli": "^4.7.0",
  37. "webpack-dev-server": "^4.11.1"
  38. },
  39. "dependencies": {
  40. "@coze/api": "^1.1.0",
  41. "@fortawesome/fontawesome-svg-core": "^6.5.1",
  42. "@fortawesome/free-solid-svg-icons": "^6.5.1",
  43. "@fortawesome/react-fontawesome": "^0.2.0",
  44. "ali-oss": "^6.18.1",
  45. "assert": "^2.1.0",
  46. "axios": "^1.7.2",
  47. "bootstrap": "^5.3.0",
  48. "bootstrap-icons": "^1.11.2",
  49. "buffer": "^6.0.3",
  50. "fluent-ffmpeg": "^2.1.3",
  51. "fs-extra": "^11.2.0",
  52. "image-size": "^1.1.1",
  53. "jimp": "^0.22.12",
  54. "knex": "^3.1.0",
  55. "os-browserify": "^0.3.0",
  56. "papaparse": "^5.4.1",
  57. "path-browserify": "^1.0.1",
  58. "prop-types": "^15.8.1",
  59. "qrcode": "^1.5.4",
  60. "react": "^17.0.2",
  61. "react-bootstrap-icons": "^1.10.3",
  62. "react-copy-to-clipboard": "^5.1.0",
  63. "react-dom": "^17.0.2",
  64. "react-h5-audio-player": "^3.9.0",
  65. "react-lazy-load-image-component": "^1.6.0",
  66. "react-router-dom": "^5.3.0",
  67. "react-select": "^5.8.0",
  68. "react-swipeable": "^7.0.1",
  69. "react-toastify": "^9.1.3",
  70. "sqlite3": "^5.1.7",
  71. "stream-browserify": "^3.0.0",
  72. "subtitle": "^4.2.1",
  73. "tar": "^7.4.3",
  74. "universalify": "^2.0.1",
  75. "util": "^0.12.5",
  76. "uuid": "^9.0.1",
  77. "xlsx": "^0.18.5"
  78. },
  79. "build": {
  80. "productName": "视频对口型",
  81. "appId": "com.spring.jianyinAssistant",
  82. "asarUnpack": [
  83. "ffmpeg/**/*",
  84. "jianyin/**/*"
  85. ],
  86. "mac": {
  87. "category": "public.app-category.utilities",
  88. "icon": "assets/icons/logo.icns",
  89. "target": [
  90. "dmg",
  91. {
  92. "target": "zip",
  93. "arch": [
  94. "x64",
  95. "arm64"
  96. ]
  97. },
  98. "tar.gz"
  99. ],
  100. "protocols": [
  101. {
  102. "name": "MyApp Protocol",
  103. "schemes": [
  104. "jianyingAssistant"
  105. ]
  106. }
  107. ]
  108. },
  109. "win": {
  110. "target": [
  111. "nsis",
  112. "portable"
  113. ],
  114. "icon": "assets/icons/logo.ico",
  115. "publisherName": "Your Company",
  116. "protocols": [
  117. {
  118. "name": "MyApp Protocol",
  119. "schemes": [
  120. "jianyingAssistant"
  121. ]
  122. }
  123. ]
  124. },
  125. "nsis": {
  126. "oneClick": false,
  127. "allowToChangeInstallationDirectory": true
  128. },
  129. "directories": {
  130. "output": "release"
  131. }
  132. }
  133. }