package.json 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. {
  2. "name": "projectGy",
  3. "version": "1.4.2",
  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.projectGy",
  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. "jimp": "^0.16.1",
  90. "js-file-download": "^0.4.12",
  91. "js-md5": "^0.7.3",
  92. "jsqr": "^1.3.1",
  93. "jwchat": "^1.0.8",
  94. "less-loader": "^5.0.0",
  95. "mysql": "^2.18.1",
  96. "node-cmd": "^4.0.0",
  97. "node-hid": "^2.1.1",
  98. "ringbufferjs": "^2.0.0",
  99. "serialport": "^9.2.8",
  100. "sm3": "^1.0.3",
  101. "sqlite3": "5.0.2",
  102. "thrift": "^0.14.2",
  103. "video.js": "^7.19.2",
  104. "videojs-contrib-hls": "^5.15.0",
  105. "vue": "^2.5.16",
  106. "vue-electron": "^1.0.6",
  107. "vue-qr": "^4.0.9",
  108. "vue-router": "^3.0.1",
  109. "vue-unity-webgl": "^1.2.0",
  110. "vuex": "^3.0.1",
  111. "vuex-electron": "^1.0.0",
  112. "vuex-persistedstate": "^4.1.0",
  113. "ws": "7.5.1"
  114. },
  115. "devDependencies": {
  116. "@types/ringbufferjs": "^1.1.2",
  117. "@types/serialport": "^8.0.1",
  118. "@types/sqlite3": "^3.1.7",
  119. "@types/thrift": "^0.10.10",
  120. "@types/ws": "^7.4.5",
  121. "ajv": "^6.5.0",
  122. "babel-core": "^6.26.3",
  123. "babel-eslint": "^8.2.3",
  124. "babel-loader": "^7.1.4",
  125. "babel-minify-webpack-plugin": "^0.3.1",
  126. "babel-plugin-istanbul": "^4.1.6",
  127. "babel-plugin-transform-runtime": "^6.23.0",
  128. "babel-preset-env": "^1.7.0",
  129. "babel-preset-stage-0": "^6.24.1",
  130. "babel-register": "^6.26.0",
  131. "cfonts": "^2.1.2",
  132. "chai": "^4.1.2",
  133. "chalk": "^2.4.1",
  134. "copy-webpack-plugin": "^4.5.1",
  135. "cross-env": "^5.1.6",
  136. "css-loader": "^0.28.11",
  137. "del": "^3.0.0",
  138. "devtron": "^1.4.0",
  139. "electron": "^8.0.0",
  140. "electron-builder": "^22.11.7",
  141. "electron-debug": "^3.2.0",
  142. "electron-devtools-installer": "^2.0.0",
  143. "electron-rebuild": "^2.3.5",
  144. "eslint": "^4.19.1",
  145. "eslint-config-standard": "^11.0.0",
  146. "eslint-friendly-formatter": "^4.0.1",
  147. "eslint-loader": "^2.0.0",
  148. "eslint-plugin-html": "^4.0.3",
  149. "eslint-plugin-import": "^2.12.0",
  150. "eslint-plugin-node": "^6.0.1",
  151. "eslint-plugin-promise": "^3.8.0",
  152. "eslint-plugin-standard": "^3.1.0",
  153. "file-loader": "^1.1.11",
  154. "html-webpack-plugin": "^3.2.0",
  155. "inject-loader": "^4.0.1",
  156. "karma": "^2.0.2",
  157. "karma-chai": "^0.1.0",
  158. "karma-coverage": "^1.1.2",
  159. "karma-electron": "^6.0.0",
  160. "karma-mocha": "^1.3.0",
  161. "karma-sourcemap-loader": "^0.3.7",
  162. "karma-spec-reporter": "^0.0.32",
  163. "karma-webpack": "^3.0.0",
  164. "listr": "^0.14.3",
  165. "mini-css-extract-plugin": "0.4.0",
  166. "mocha": "^5.2.0",
  167. "node-loader": "^0.6.0",
  168. "node-sass": "^4.9.2",
  169. "require-dir": "^1.0.0",
  170. "sass": "^1.75.0",
  171. "sass-loader": "^7.0.3",
  172. "spectron": "^3.8.0",
  173. "style-loader": "^0.21.0",
  174. "url-loader": "^1.0.1",
  175. "vue-html-loader": "^1.2.4",
  176. "vue-loader": "^15.2.4",
  177. "vue-style-loader": "^4.1.0",
  178. "vue-template-compiler": "^2.5.16",
  179. "webpack": "^4.15.1",
  180. "webpack-cli": "^3.0.8",
  181. "webpack-dev-server": "^3.1.4",
  182. "webpack-hot-middleware": "^2.22.2",
  183. "webpack-merge": "^4.1.3"
  184. },
  185. "__npminstall_done": false
  186. }