package.json 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. {
  2. "name": "westeroscraftlauncher",
  3. "version": "0.0.1",
  4. "description": "Custom modded launcher for Westeroscraft",
  5. "productName": "WesterosCraft Launcher",
  6. "main": "index.js",
  7. "scripts": {
  8. "start": "electron index.js",
  9. "travislinux": "electron-builder --linux --win",
  10. "travisdarwin": "electron-builder --mac",
  11. "dist": "SET ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES=true & electron-builder",
  12. "dist:win": "npm run dist -- --win --x64",
  13. "dist:mac": "npm run dist -- --mac",
  14. "dist:linux": "npm run dist -- --linux --x64",
  15. "dist:all": "npm run dist -- -wl --x64"
  16. },
  17. "engines": {
  18. "node": "8.11.x"
  19. },
  20. "repository": {
  21. "type": "git",
  22. "url": "git+https://github.com/WesterosCraftCode/ElectronLauncher.git"
  23. },
  24. "author": "Daniel Scalzi",
  25. "license": "AGPL-3.0",
  26. "bugs": {
  27. "url": "https://github.com/WesterosCraftCode/ElectronLauncher/issues"
  28. },
  29. "homepage": "http://www.westeroscraft.com/",
  30. "dependencies": {
  31. "adm-zip": "^0.4.7",
  32. "async": "^2.6.0",
  33. "discord-rpc": "^3.0.0-beta.10",
  34. "ejs": "^2.5.7",
  35. "ejs-electron": "^2.0.1",
  36. "jquery": "^3.3.1",
  37. "mkdirp": "^0.5.1",
  38. "request-promise-native": "^1.0.5",
  39. "rimraf": "^2.6.2",
  40. "tar-fs": "^1.16.0",
  41. "uuid": "^3.2.1",
  42. "winreg": "^1.2.4"
  43. },
  44. "devDependencies": {
  45. "electron": "^1.8.4",
  46. "electron-builder": "^20.8.1"
  47. },
  48. "build": {
  49. "appId": "westeroscraftlauncher",
  50. "productName": "WesterosCraft Launcher",
  51. "artifactName": "${productName}.${ext}",
  52. "copyright": "Copyright © 2018 WesterosCraft",
  53. "directories": {
  54. "buildResources": "build",
  55. "output": "dist"
  56. },
  57. "win": {
  58. "target": [
  59. {
  60. "target": "nsis",
  61. "arch": "x64"
  62. }
  63. ],
  64. "icon": "build/icon.ico"
  65. },
  66. "nsis": {
  67. "oneClick": false,
  68. "perMachine": true,
  69. "allowElevation": true,
  70. "installerIcon": "build/icon.ico",
  71. "uninstallerIcon": "build/icon.ico"
  72. },
  73. "mac": {
  74. "target": "dmg",
  75. "category": "public.app-category.games",
  76. "icon": "build/icon.icns",
  77. "type": "distribution"
  78. },
  79. "linux": {
  80. "target": "AppImage",
  81. "maintainer": "Daniel Scalzi",
  82. "vendor": "WesterosCraft",
  83. "synopsis": "Custom modded launcher for WesterosCraft",
  84. "description": "Custom launcher which allows users to join WesterosCraft. All mods, configurations, and updates are handled automatically.",
  85. "category": "Game"
  86. },
  87. "deb": {
  88. "compression": "xz",
  89. "packageCategory": "Games",
  90. "priority": "optional"
  91. },
  92. "compression": "maximum",
  93. "files": [
  94. "!{target,logs,.vscode,docs}"
  95. ],
  96. "asar": true
  97. }
  98. }