package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. "dist": "SET ELECTRON_BUILDER_ALLOW_UNRESOLVED_DEPENDENCIES=true & electron-builder",
  10. "dist:win": "npm run dist -- --win --x64",
  11. "dist:mac": "npm run dist -- --mac",
  12. "dist:linux": "npm run dist -- --linux --x64",
  13. "dist:all": "npm run dist -- -wl --x64"
  14. },
  15. "engines": {
  16. "node": "8.9.x"
  17. },
  18. "repository": {
  19. "type": "git",
  20. "url": "git+https://gitlab.com/westeroscraft/electronlauncher.git"
  21. },
  22. "author": "Daniel Scalzi",
  23. "license": "AGPL-3.0",
  24. "bugs": {
  25. "url": "https://gitlab.com/westeroscraft/electronlauncher/issues"
  26. },
  27. "homepage": "http://www.westeroscraft.com/",
  28. "dependencies": {
  29. "adm-zip": "^0.4.7",
  30. "async": "^2.6.0",
  31. "discord-rpc": "^3.0.0-beta.8",
  32. "find-java-home": "^0.2.0",
  33. "jquery": "^3.2.1",
  34. "react": "^16.2.0",
  35. "react-dom": "^16.2.0",
  36. "request-promise-native": "^1.0.5",
  37. "uuid": "^3.2.1"
  38. },
  39. "devDependencies": {
  40. "babel-preset-env": "^1.6.1",
  41. "babel-preset-react": "^6.24.1",
  42. "babel-register": "^6.26.0",
  43. "electron": "^1.7.11",
  44. "electron-builder": "^19.54.0"
  45. },
  46. "build": {
  47. "appId": "westeroscraftlauncher",
  48. "productName": "WesterosCraft Launcher",
  49. "artifactName": "${productName}.${ext}",
  50. "copyright": "Copyright © 2018 WesterosCraft",
  51. "directories": {
  52. "buildResources": "build",
  53. "output": "dist"
  54. },
  55. "win": {
  56. "target": "portable",
  57. "icon": "build/icon.ico"
  58. },
  59. "mac": {
  60. "target": "dmg",
  61. "category": "public.app-category.games",
  62. "icon": "build/icon.icns",
  63. "type": "distribution"
  64. },
  65. "linux": {
  66. "target": "AppImage",
  67. "maintainer": "Daniel Scalzi",
  68. "vendor": "WesterosCraft",
  69. "synopsis": "Custom modded launcher for WesterosCraft",
  70. "description": "Custom launcher which allows users to join WesterosCraft. All mods, configurations, and updates are handled automatically.",
  71. "category": "Game"
  72. },
  73. "deb": {
  74. "compression": "xz",
  75. "packageCategory": "Games",
  76. "priority": "optional"
  77. },
  78. "compression": "maximum",
  79. "files": [
  80. "!{target,logs,.vscode,docs}"
  81. ],
  82. "asar": true
  83. }
  84. }