package3.json 5.9 KB

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