package.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "name": "yiqun",
  3. "version": "1.0.0",
  4. "author": "yiqun",
  5. "description": "专注安全通信的聊天软件",
  6. "license": "AGPL-3.0",
  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. "pack": "npm run pack:main && npm run pack:renderer",
  15. "pack:main": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.main.config.js",
  16. "pack:renderer": "cross-env NODE_ENV=production webpack --progress --colors --config .electron-vue/webpack.renderer.config.js",
  17. "postinstall": ""
  18. },
  19. "build": {
  20. "productName": "yiqun",
  21. "appId": "org.simulatedgreg.electron-vue",
  22. "directories": {
  23. "output": "build"
  24. },
  25. "publish": [
  26. {
  27. "provider": "generic",
  28. "url": "http://120.27.95.106:8081/"
  29. }
  30. ],
  31. "files": [
  32. "dist/electron/**/*"
  33. ],
  34. "dmg": {
  35. "contents": [
  36. {
  37. "x": 410,
  38. "y": 150,
  39. "type": "link",
  40. "path": "/Applications"
  41. },
  42. {
  43. "x": 130,
  44. "y": 150,
  45. "type": "file"
  46. }
  47. ]
  48. },
  49. "mac": {
  50. "icon": "build/icons/icon.icns"
  51. },
  52. "win": {
  53. "icon": "build/icons/icon.ico"
  54. },
  55. "linux": {
  56. "icon": "build/icons"
  57. }
  58. },
  59. "dependencies": {
  60. "axios": "^0.19.2",
  61. "electron-capture-screen": "^0.1.0",
  62. "electron-updater": "^4.3.1",
  63. "iview": "^3.5.4",
  64. "moment": "^2.25.3",
  65. "qs": "^6.9.4",
  66. "strophe.js": "^1.3.5",
  67. "v-viewer": "^1.5.1",
  68. "vcolorpicker": "^0.1.8",
  69. "vue": "^2.6.10",
  70. "vue-electron": "^1.0.6",
  71. "vue-router": "^3.0.1",
  72. "vuex": "^3.0.1"
  73. },
  74. "devDependencies": {
  75. "autoprefixer-loader": "^2.0.0",
  76. "babel": "^6.23.0",
  77. "babel-core": "^6.23.1",
  78. "babel-loader": "^6.2.4",
  79. "babel-plugin-transform-runtime": "^6.12.0",
  80. "babel-preset-env": "^1.6.0",
  81. "babel-preset-es2015": "^6.9.0",
  82. "babel-preset-stage-0": "^6.24.1",
  83. "babel-register": "^6.24.1",
  84. "babel-runtime": "^6.11.6",
  85. "babili-webpack-plugin": "^0.1.2",
  86. "cfonts": "^1.2.0",
  87. "chalk": "^2.1.0",
  88. "copy-webpack-plugin": "^4.0.1",
  89. "cross-env": "^5.0.5",
  90. "css-loader": "^0.28.4",
  91. "del": "^3.0.0",
  92. "devtron": "^1.4.0",
  93. "electron": "^7.0.0",
  94. "electron-builder": "^22.1.0",
  95. "electron-debug": "^2.0.0",
  96. "electron-devtools-installer": "^2.2.4",
  97. "eslint": "^5.8.0",
  98. "extract-text-webpack-plugin": "^3.0.0",
  99. "file-loader": "^0.11.2",
  100. "html-loader": "^0.3.0",
  101. "html-webpack-plugin": "^2.30.1",
  102. "iview-loader": "^1.0.0-beta.3",
  103. "less": "^2.7.1",
  104. "less-loader": "^2.2.3",
  105. "multispinner": "^0.2.1",
  106. "node-loader": "^0.6.0",
  107. "node-sass": "^4.12.0",
  108. "prettier": "1.14.3",
  109. "run-electron": "^0.1.0",
  110. "sass-loader": "^7.1.0",
  111. "style-loader": "^0.18.2",
  112. "url-loader": "^0.5.9",
  113. "vue-clipboard2": "^0.3.1",
  114. "vue-devtools": "^5.0.0-beta.1",
  115. "vue-hot-reload-api": "^1.3.3",
  116. "vue-html-loader": "^1.2.4",
  117. "vue-loader": "^13.0.5",
  118. "vue-particles": "^1.0.9",
  119. "vue-style-loader": "^3.0.1",
  120. "vue-template-compiler": "^2.4.2",
  121. "webpack": "^3.5.2",
  122. "webpack-dev-server": "^2.7.1",
  123. "webpack-hot-middleware": "^2.18.2",
  124. "webpack-merge": "^3.0.0"
  125. }
  126. }