package.json 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. {
  2. "name": "zxy",
  3. "version": "0.0.2",
  4. "author": "xiaoyuzhang <771799477@qq.com>",
  5. "description": "An electron-vue project",
  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. "pack": "npm run pack:main && npm run pack:renderer",
  16. "pack:main": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.main.config.js",
  17. "pack:renderer": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js",
  18. "test": "npm run unit && npm run e2e",
  19. "unit": "karma start test/unit/karma.conf.js",
  20. "postinstall": ""
  21. },
  22. "build": {
  23. "productName": "zxy",
  24. "appId": "com.example.yourapp",
  25. "directories": {
  26. "output": "build"
  27. },
  28. "files": [
  29. "dist/electron/**/*"
  30. ],
  31. "dmg": {
  32. "contents": [
  33. {
  34. "x": 410,
  35. "y": 150,
  36. "type": "link",
  37. "path": "/Applications"
  38. },
  39. {
  40. "x": 130,
  41. "y": 150,
  42. "type": "file"
  43. }
  44. ]
  45. },
  46. "mac": {
  47. "icon": "build/icons/icon.icns"
  48. },
  49. "win": {
  50. "icon": "build/icons/icon.ico"
  51. },
  52. "linux": {
  53. "icon": "build/icons"
  54. }
  55. },
  56. "dependencies": {
  57. "axios": "^0.18.0",
  58. "bleno": "^0.5.0",
  59. "bufferutil": "^4.0.1",
  60. "echarts": "^4.7.0",
  61. "element-ui": "^2.13.1",
  62. "koa": "^2.2.0",
  63. "node-bluetooth": "^1.2.6",
  64. "socket.io": "^2.3.0",
  65. "vue": "^2.5.16",
  66. "vue-echarts": "^5.0.0-beta.0",
  67. "vue-electron": "^1.0.6",
  68. "vue-heatmapjs": "^1.5.0-0",
  69. "vue-router": "^3.0.1",
  70. "vue-socket.io": "^3.0.7",
  71. "vuex": "^3.0.1",
  72. "vuex-electron": "^1.0.0"
  73. },
  74. "devDependencies": {
  75. "ajv": "^6.5.0",
  76. "babel-core": "^6.26.3",
  77. "babel-loader": "^7.1.4",
  78. "babel-minify-webpack-plugin": "^0.3.1",
  79. "babel-plugin-istanbul": "^4.1.6",
  80. "babel-plugin-transform-runtime": "^6.23.0",
  81. "babel-preset-env": "^1.7.0",
  82. "babel-preset-stage-0": "^6.24.1",
  83. "babel-register": "^6.26.0",
  84. "cfonts": "^2.1.2",
  85. "chai": "^4.1.2",
  86. "chalk": "^2.4.1",
  87. "copy-webpack-plugin": "^4.5.1",
  88. "cross-env": "^5.1.6",
  89. "css-loader": "^0.28.11",
  90. "del": "^3.0.0",
  91. "devtron": "^1.4.0",
  92. "electron": "^2.0.4",
  93. "electron-builder": "^20.19.2",
  94. "electron-debug": "^1.5.0",
  95. "electron-devtools-installer": "^2.2.4",
  96. "electron-rebuild": "^1.10.1",
  97. "file-loader": "^1.1.11",
  98. "html-webpack-plugin": "^3.2.0",
  99. "inject-loader": "^4.0.1",
  100. "karma": "^2.0.2",
  101. "karma-chai": "^0.1.0",
  102. "karma-coverage": "^1.1.2",
  103. "karma-electron": "^6.0.0",
  104. "karma-mocha": "^1.3.0",
  105. "karma-sourcemap-loader": "^0.3.7",
  106. "karma-spec-reporter": "^0.0.32",
  107. "karma-webpack": "^3.0.0",
  108. "mini-css-extract-plugin": "0.4.0",
  109. "mocha": "^5.2.0",
  110. "multispinner": "^0.2.1",
  111. "node-loader": "^0.6.0",
  112. "node-sass": "^4.9.2",
  113. "require-dir": "^1.0.0",
  114. "sass-loader": "^7.0.3",
  115. "spectron": "^3.8.0",
  116. "style-loader": "^0.21.0",
  117. "url-loader": "^1.0.1",
  118. "vue-html-loader": "^1.2.4",
  119. "vue-loader": "^15.2.4",
  120. "vue-style-loader": "^4.1.0",
  121. "vue-template-compiler": "^2.5.16",
  122. "webpack": "^4.15.1",
  123. "webpack-cli": "^3.0.8",
  124. "webpack-dev-server": "^3.1.4",
  125. "webpack-hot-middleware": "^2.22.2",
  126. "webpack-merge": "^4.1.3"
  127. },
  128. "optionalDependencies": {
  129. "utf-8-validate": "^5.0.2"
  130. }
  131. }