package.json 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. {
  2. "name": "video_app",
  3. "version": "0.0.1",
  4. "author": "liuwei <1097408921@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. "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. "packager": "electron-packager ./ VedioApp --win=x64 --out ./outApp --overwrite --icon=./build/icons/icon.ico"
  19. },
  20. "build": {
  21. "productName": "video",
  22. "appId": "com.example.app",
  23. "directories": {
  24. "output": "build"
  25. },
  26. "files": [
  27. "dist/electron/**/*"
  28. ],
  29. "dmg": {
  30. "contents": [
  31. {
  32. "x": 410,
  33. "y": 150,
  34. "type": "link",
  35. "path": "/Applications"
  36. },
  37. {
  38. "x": 130,
  39. "y": 150,
  40. "type": "file"
  41. }
  42. ]
  43. },
  44. "mac": {
  45. "icon": "build/icons/icon.icns"
  46. },
  47. "win": {
  48. "icon": "build/icons/icon.ico"
  49. },
  50. "linux": {
  51. "icon": "build/icons"
  52. }
  53. },
  54. "dependencies": {
  55. "axios": "^0.19.2",
  56. "element-ui": "^2.13.0",
  57. "express": "^4.17.1",
  58. "mux.js": "^5.6.2",
  59. "pubsub-js": "^1.7.0",
  60. "sortable": "^2.0.0",
  61. "video.js": "^7.7.6",
  62. "videojs-flash": "^2.2.1",
  63. "vue": "^2.5.16",
  64. "vue-drag-resize": "^1.3.2",
  65. "vue-electron": "^1.0.6",
  66. "vue-router": "^3.0.1",
  67. "vue-video-player": "^5.0.2",
  68. "vuedraggable": "^2.23.2",
  69. "vuex": "^3.0.1",
  70. "vuex-electron": "^1.0.0"
  71. },
  72. "devDependencies": {
  73. "ajv": "^6.5.0",
  74. "babel-core": "^6.26.3",
  75. "babel-loader": "^7.1.4",
  76. "babel-minify-webpack-plugin": "^0.3.1",
  77. "babel-plugin-transform-runtime": "^6.23.0",
  78. "babel-preset-env": "^1.7.0",
  79. "babel-preset-stage-0": "^6.24.1",
  80. "babel-register": "^6.26.0",
  81. "cfonts": "^2.1.2",
  82. "chalk": "^2.4.1",
  83. "copy-webpack-plugin": "^4.6.0",
  84. "cross-env": "^5.1.6",
  85. "css-loader": "^0.28.11",
  86. "del": "^3.0.0",
  87. "devtron": "^1.4.0",
  88. "electron": "^2.0.4",
  89. "electron-builder": "^20.19.2",
  90. "electron-debug": "^1.5.0",
  91. "electron-devtools-installer": "^2.2.4",
  92. "electron-packager": "^14.2.1",
  93. "file-loader": "^1.1.11",
  94. "html-webpack-plugin": "^3.2.0",
  95. "less": "^3.11.1",
  96. "less-loader": "^5.0.0",
  97. "mini-css-extract-plugin": "0.4.0",
  98. "multispinner": "^0.2.1",
  99. "node-loader": "^0.6.0",
  100. "sass-resources-loader": "^2.0.1",
  101. "style-loader": "^0.21.0",
  102. "url-loader": "^1.0.1",
  103. "vue-html-loader": "^1.2.4",
  104. "vue-loader": "^15.2.4",
  105. "vue-style-loader": "^4.1.0",
  106. "vue-template-compiler": "^2.5.16",
  107. "webpack": "^4.15.1",
  108. "webpack-cli": "^3.0.8",
  109. "webpack-dev-server": "^3.1.4",
  110. "webpack-hot-middleware": "^2.22.2",
  111. "webpack-merge": "^4.1.3"
  112. }
  113. }