package.json 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. {
  2. "name": "projectGynew2",
  3. "version": "1.2.1",
  4. "author": "",
  5. "description": "",
  6. "license": null,
  7. "main": "./dist/electron/main.js",
  8. "scripts": {
  9. "build": "node .electron-vue/build.js && electron-builder",
  10. "build:dir": "node .electron-vue/build.js && electron-builder --dir",
  11. "build:clean": "cross-env BUILD_TARGET=clean node .electron-vue/build.js",
  12. "build:web": "cross-env BUILD_TARGET=web node .electron-vue/build.js",
  13. "dev": "node .electron-vue/dev-runner.js",
  14. "e2e": "npm run pack && mocha test/e2e",
  15. "lint": "",
  16. "lint:fix": "",
  17. "pack": "npm run pack:main && npm run pack:renderer",
  18. "pack:main": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.main.config.js",
  19. "pack:renderer": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js",
  20. "test": "npm run unit && npm run e2e",
  21. "unit": "karma start test/unit/karma.conf.js",
  22. "postinstall": "npm run lint:fix",
  23. "postcpp": "electron-builder install-app-deps"
  24. },
  25. "build": {
  26. "nsis": {
  27. "allowElevation": true,
  28. "perMachine": true,
  29. "include": "build/script/installer.nsh",
  30. "oneClick": false,
  31. "allowToChangeInstallationDirectory": true,
  32. "createDesktopShortcut": true,
  33. "runAfterFinish": true,
  34. "license": "build/script/license.txt",
  35. "deleteAppDataOnUninstall": false
  36. },
  37. "productName": "智能对话式心理健康评估系统",
  38. "appId": "com.examplesingletask.yourapp.projectGynew2",
  39. "directories": {
  40. "output": "build"
  41. },
  42. "files": [
  43. "dist/electron/**/*"
  44. ],
  45. "dmg": {
  46. "contents": [
  47. {
  48. "x": 410,
  49. "y": 150,
  50. "type": "link",
  51. "path": "/Applications"
  52. },
  53. {
  54. "x": 130,
  55. "y": 150,
  56. "type": "file"
  57. }
  58. ]
  59. },
  60. "mac": {
  61. "icon": "build/icons/icon.icns"
  62. },
  63. "win": {
  64. "icon": "build/icon/newIcon.ico",
  65. "requestedExecutionLevel": "requireAdministrator"
  66. },
  67. "linux": {
  68. "icon": "build/icons"
  69. },
  70. "extraResources": [
  71. "./exe/**"
  72. ]
  73. },
  74. "dependencies": {
  75. "async-lock": "^1.4.0",
  76. "axios": "^0.18.0",
  77. "core-js": "^3.15.1",
  78. "createjs-npm": "^0.2.0",
  79. "crypto-js": "^4.1.1",
  80. "echarts": "^5.1.2",
  81. "echarts-stat": "^1.2.0",
  82. "electron-log": "^4.4.8",
  83. "electron-package": "^0.1.0",
  84. "electron-packager": "^14.2.1",
  85. "electron-updater": "^4.3.9",
  86. "element-ui": "^2.15.2",
  87. "excel-export": "^0.5.1",
  88. "intro.js": "^6.0.0",
  89. "js-file-download": "^0.4.12",
  90. "js-md5": "^0.7.3",
  91. "jwchat": "^1.0.8",
  92. "mysql": "^2.18.1",
  93. "node-cmd": "^4.0.0",
  94. "node-hid": "^2.1.1",
  95. "ringbufferjs": "^2.0.0",
  96. "serialport": "^9.2.8",
  97. "sm3": "^1.0.3",
  98. "sqlite3": "5.0.2",
  99. "thrift": "^0.14.2",
  100. "video.js": "^7.19.2",
  101. "videojs-contrib-hls": "^5.15.0",
  102. "vue": "^2.5.16",
  103. "vue-electron": "^1.0.6",
  104. "vue-qr": "^4.0.9",
  105. "vue-router": "^3.0.1",
  106. "vue-unity-webgl": "^1.2.0",
  107. "vuex": "^3.0.1",
  108. "vuex-electron": "^1.0.0",
  109. "vuex-persistedstate": "^4.1.0",
  110. "ws": "7.5.1"
  111. },
  112. "devDependencies": {
  113. "@types/ringbufferjs": "^1.1.2",
  114. "@types/serialport": "^8.0.1",
  115. "@types/sqlite3": "^3.1.7",
  116. "@types/thrift": "^0.10.10",
  117. "@types/ws": "^7.4.5",
  118. "ajv": "^6.5.0",
  119. "babel-core": "^6.26.3",
  120. "babel-eslint": "^8.2.3",
  121. "babel-loader": "^7.1.4",
  122. "babel-minify-webpack-plugin": "^0.3.1",
  123. "babel-plugin-istanbul": "^4.1.6",
  124. "babel-plugin-transform-runtime": "^6.23.0",
  125. "babel-preset-env": "^1.7.0",
  126. "babel-preset-stage-0": "^6.24.1",
  127. "babel-register": "^6.26.0",
  128. "cfonts": "^2.1.2",
  129. "chai": "^4.1.2",
  130. "chalk": "^2.4.1",
  131. "copy-webpack-plugin": "^4.5.1",
  132. "cross-env": "^5.1.6",
  133. "css-loader": "^0.28.11",
  134. "del": "^3.0.0",
  135. "devtron": "^1.4.0",
  136. "electron": "^8.0.0",
  137. "electron-builder": "^22.11.7",
  138. "electron-debug": "^3.2.0",
  139. "electron-devtools-installer": "^2.0.0",
  140. "electron-rebuild": "^2.3.5",
  141. "eslint": "^4.19.1",
  142. "eslint-config-standard": "^11.0.0",
  143. "eslint-friendly-formatter": "^4.0.1",
  144. "eslint-loader": "^2.0.0",
  145. "eslint-plugin-html": "^4.0.3",
  146. "eslint-plugin-import": "^2.12.0",
  147. "eslint-plugin-node": "^6.0.1",
  148. "eslint-plugin-promise": "^3.8.0",
  149. "eslint-plugin-standard": "^3.1.0",
  150. "file-loader": "^1.1.11",
  151. "html-webpack-plugin": "^3.2.0",
  152. "inject-loader": "^4.0.1",
  153. "karma": "^2.0.2",
  154. "karma-chai": "^0.1.0",
  155. "karma-coverage": "^1.1.2",
  156. "karma-electron": "^6.0.0",
  157. "karma-mocha": "^1.3.0",
  158. "karma-sourcemap-loader": "^0.3.7",
  159. "karma-spec-reporter": "^0.0.32",
  160. "karma-webpack": "^3.0.0",
  161. "listr": "^0.14.3",
  162. "mini-css-extract-plugin": "0.4.0",
  163. "mocha": "^5.2.0",
  164. "node-loader": "^0.6.0",
  165. "node-sass": "^4.9.2",
  166. "require-dir": "^1.0.0",
  167. "sass-loader": "^7.0.3",
  168. "spectron": "^3.8.0",
  169. "style-loader": "^0.21.0",
  170. "url-loader": "^1.0.1",
  171. "vue-html-loader": "^1.2.4",
  172. "vue-loader": "^15.2.4",
  173. "vue-style-loader": "^4.1.0",
  174. "vue-template-compiler": "^2.5.16",
  175. "webpack": "^4.15.1",
  176. "webpack-cli": "^3.0.8",
  177. "webpack-dev-server": "^3.1.4",
  178. "webpack-hot-middleware": "^2.22.2",
  179. "webpack-merge": "^4.1.3"
  180. },
  181. "__npminstall_done": false
  182. }