package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "Usestudio-Browser",
  3. "main": "main.js",
  4. "private": true,
  5. "productName": "Usestudio-Browser",
  6. "version": "2.3.0",
  7. "author": "jack",
  8. "email": "745902130@qq.com",
  9. "dependencies": {
  10. "electron-updater": "^3.1.2",
  11. "fs": "0.0.1-security",
  12. "regedit": "^3.0.0",
  13. "winreg": "^1.2.4"
  14. },
  15. "devDependencies": {
  16. "electron": "^2.0.12"
  17. },
  18. "build": {
  19. "publish": [
  20. {
  21. "provider": "generic",
  22. "url": "http://client.1473.cn/update"
  23. }
  24. ],
  25. "appId": "Usestudio.CampusInfo",
  26. "directories": {
  27. "output": "build"
  28. },
  29. "win": {
  30. "icon": "public\\img\\tray\\app.ico",
  31. "artifactName": "${productName}_setup.${ext}",
  32. "target": [
  33. "nsis"
  34. ]
  35. },
  36. "asar": true,
  37. "nsis": {
  38. "oneClick": false,
  39. "menuCategory": "雨云科技",
  40. "shortcutName": "互联办公",
  41. "allowToChangeInstallationDirectory": true,
  42. "perMachine": true,
  43. "runAfterFinish": true
  44. },
  45. "mac": {
  46. "icon": "public\\img\\tray\\app.icns",
  47. "category": "browers",
  48. "target": [
  49. "dmg"
  50. ]
  51. },
  52. "dmg": {
  53. "window": {
  54. "x": 100,
  55. "y": 100,
  56. "width": 500,
  57. "height": 300
  58. }
  59. }
  60. },
  61. "linux": {
  62. "icon": "public\\img\\tray\\app.ico",
  63. "target": [
  64. "AppImage",
  65. "tar.gz"
  66. ]
  67. },
  68. "scripts": {
  69. "dev": "electron .",
  70. "build:win": "electron-builder --win --ia32",
  71. "build:mac": "electron-builder --mac",
  72. "build:linux": "electron-builder --platform=linux",
  73. "packager": "electron-packager ./ --all --out ./OutApp --version 1.4.0 --overwrite --icon=./public/img/tray/app.ico"
  74. },
  75. "license": "jack"
  76. }