2022-10-21 18:38:19 +00:00
|
|
|
{
|
|
|
|
"name": "heroic",
|
2023-01-11 07:51:40 +00:00
|
|
|
"version": "2.5.2",
|
2022-10-21 18:38:19 +00:00
|
|
|
"private": true,
|
2023-01-11 07:51:40 +00:00
|
|
|
"main": "build/electron/main.js",
|
2022-10-21 18:38:19 +00:00
|
|
|
"homepage": "./",
|
|
|
|
"license": "GPL-3.0-only",
|
|
|
|
"description": "An Open Source Launcher for GOG and Epic Games",
|
|
|
|
"repository": {
|
|
|
|
"type": "Github",
|
|
|
|
"url": "https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher"
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"name": "Heroic Games Launcher",
|
|
|
|
"email": "heroicgameslauncher@protonmail.com"
|
|
|
|
},
|
|
|
|
"build": {
|
|
|
|
"appId": "com.electron.heroic",
|
|
|
|
"productName": "Heroic",
|
|
|
|
"files": [
|
|
|
|
"build/**/*",
|
|
|
|
"node_modules/**/*",
|
|
|
|
"!build/bin/*",
|
|
|
|
"build/bin/legendary.LICENSE"
|
|
|
|
],
|
|
|
|
"asarUnpack": [
|
|
|
|
"build/icon.png",
|
|
|
|
"build/icon.icns",
|
|
|
|
"build/win_icon.ico",
|
|
|
|
"build/icon-dark.png",
|
|
|
|
"build/icon-light.png"
|
|
|
|
],
|
|
|
|
"protocols": [
|
|
|
|
{
|
|
|
|
"name": "heroic",
|
|
|
|
"schemes": [
|
|
|
|
"heroic"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"win": {
|
2023-01-11 07:51:40 +00:00
|
|
|
"artifactName": "${productName}-${version}-Setup.${ext}",
|
2022-10-21 18:38:19 +00:00
|
|
|
"icon": "build/win_icon.ico",
|
|
|
|
"asarUnpack": [
|
|
|
|
"build/bin/win32/legendary.exe",
|
|
|
|
"build/bin/win32/gogdl.exe"
|
|
|
|
],
|
|
|
|
"files": [
|
|
|
|
"build/bin/win32/*"
|
|
|
|
]
|
|
|
|
},
|
2023-01-11 07:51:40 +00:00
|
|
|
"portable": {
|
|
|
|
"artifactName": "${productName}-${version}-Portable.${ext}"
|
|
|
|
},
|
2022-10-21 18:38:19 +00:00
|
|
|
"mac": {
|
|
|
|
"target": "dmg",
|
|
|
|
"category": "public.app-category.games",
|
|
|
|
"icon": "build/icon.icns",
|
|
|
|
"asarUnpack": [
|
|
|
|
"build/bin/darwin/legendary",
|
|
|
|
"build/bin/darwin/gogdl"
|
|
|
|
],
|
|
|
|
"files": [
|
|
|
|
"build/bin/darwin/*"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"dmg": {
|
|
|
|
"background": "public/dmg.png",
|
|
|
|
"window": {
|
|
|
|
"width": "600",
|
|
|
|
"height": "500"
|
|
|
|
},
|
|
|
|
"contents": [
|
|
|
|
{
|
|
|
|
"x": 10,
|
|
|
|
"y": 215,
|
|
|
|
"type": "file"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"x": 420,
|
|
|
|
"y": 215,
|
|
|
|
"type": "link",
|
|
|
|
"path": "/Applications"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"linux": {
|
|
|
|
"category": "Game",
|
|
|
|
"icon": "build/icon.icns",
|
|
|
|
"description": "An Open Source Launcher for GOG and Epic Games",
|
|
|
|
"desktop": {
|
|
|
|
"Name": "Heroic Games Launcher",
|
|
|
|
"Comment[de]": "Ein Open Source Spielelauncher for GOG und Epic Games"
|
|
|
|
},
|
|
|
|
"asarUnpack": [
|
|
|
|
"build/bin/linux/legendary",
|
|
|
|
"build/bin/linux/gogdl"
|
|
|
|
],
|
|
|
|
"files": [
|
|
|
|
"build/bin/linux/*"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"deb": {
|
|
|
|
"packageCategory": "games",
|
|
|
|
"depends": [
|
|
|
|
"curl"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"pacman": {
|
|
|
|
"packageCategory": "games",
|
|
|
|
"depends": [
|
|
|
|
"curl"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"rpm": {
|
|
|
|
"packageCategory": "games",
|
|
|
|
"depends": [
|
|
|
|
"curl"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"dependencies": {
|
|
|
|
"@emotion/react": "^11.9.0",
|
|
|
|
"@emotion/styled": "^11.8.1",
|
|
|
|
"@fontsource/cabin": "^4.5.5",
|
|
|
|
"@fontsource/rubik": "^4.5.6",
|
|
|
|
"@fortawesome/fontawesome-svg-core": "^6.1.1",
|
|
|
|
"@fortawesome/free-brands-svg-icons": "^6.1.1",
|
|
|
|
"@fortawesome/free-regular-svg-icons": "^6.1.1",
|
|
|
|
"@fortawesome/free-solid-svg-icons": "^6.1.1",
|
|
|
|
"@fortawesome/react-fontawesome": "^0.1.18",
|
2023-01-11 07:51:40 +00:00
|
|
|
"@mui/icons-material": "^5.10.9",
|
|
|
|
"@mui/material": "^5.10.12",
|
2022-10-21 18:38:19 +00:00
|
|
|
"@node-steam/vdf": "^2.2.0",
|
2023-01-11 07:51:40 +00:00
|
|
|
"@shockpkg/icon-encoder": "^2.1.3",
|
2022-10-21 18:38:19 +00:00
|
|
|
"axios": "^0.26.1",
|
|
|
|
"check-disk-space": "^3.3.1",
|
|
|
|
"classnames": "^2.3.1",
|
|
|
|
"crc": "^4.1.1",
|
|
|
|
"discord-rich-presence-typescript": "^0.0.8",
|
|
|
|
"electron-store": "^8.0.1",
|
|
|
|
"electron-updater": "^5.0.1",
|
|
|
|
"filesize": "^8.0.7",
|
|
|
|
"font-list": "^1.4.5",
|
|
|
|
"fs-extra": "^10.1.0",
|
|
|
|
"fuse.js": "^6.6.2",
|
|
|
|
"graceful-fs": "^4.2.10",
|
|
|
|
"heroic-wine-downloader": "^1.2.3",
|
2023-01-11 07:51:40 +00:00
|
|
|
"howlongtobeat": "^1.7.0",
|
2022-10-21 18:38:19 +00:00
|
|
|
"i18next": "^21.6.16",
|
|
|
|
"i18next-fs-backend": "^1.1.4",
|
|
|
|
"i18next-http-backend": "^1.4.0",
|
|
|
|
"ini": "^3.0.0",
|
|
|
|
"plist": "^3.0.5",
|
2023-01-11 07:51:40 +00:00
|
|
|
"react": "^18.2.0",
|
|
|
|
"react-dom": "^18.2.0",
|
2022-10-21 18:38:19 +00:00
|
|
|
"react-i18next": "^11.16.7",
|
2023-01-11 07:51:40 +00:00
|
|
|
"react-markdown": "^8.0.3",
|
2022-10-21 18:38:19 +00:00
|
|
|
"react-router-dom": "^6.3.0",
|
2023-01-11 07:51:40 +00:00
|
|
|
"recharts": "^2.1.14",
|
2022-10-21 18:38:19 +00:00
|
|
|
"shlex": "^2.1.2",
|
2023-01-11 07:51:40 +00:00
|
|
|
"short-uuid": "^4.2.0",
|
2022-10-21 18:38:19 +00:00
|
|
|
"simple-keyboard": "^3.4.136",
|
|
|
|
"source-map-support": "^0.5.21",
|
|
|
|
"steam-shortcut-editor": "^3.1.1",
|
2023-01-11 07:51:40 +00:00
|
|
|
"systeminformation": "^5.15.0",
|
2022-10-21 18:38:19 +00:00
|
|
|
"tslib": "^2.4.0"
|
|
|
|
},
|
|
|
|
"scripts": {
|
2023-01-11 07:51:40 +00:00
|
|
|
"start": "vite",
|
|
|
|
"codecheck": "tsc --noEmit",
|
|
|
|
"test": "jest",
|
2022-10-21 18:38:19 +00:00
|
|
|
"test-watch": "jest --watch --maxWorkers=25%",
|
|
|
|
"test:ci": "jest --runInBand --silent",
|
2023-01-11 07:51:40 +00:00
|
|
|
"release:linux": "vite build && electron-builder -p always --linux deb AppImage rpm pacman tar.xz",
|
|
|
|
"release:mac": "vite build && electron-builder -p always --mac",
|
|
|
|
"release:win": "vite build && electron-builder -p always --win nsis portable",
|
|
|
|
"dist:linux": "vite build && electron-builder --linux",
|
|
|
|
"dist:mac": "vite build && electron-builder --mac",
|
|
|
|
"dist:win": "vite build && electron-builder --win",
|
|
|
|
"lint": "eslint --cache -c .eslintrc --ext .tsx,ts ./src",
|
|
|
|
"lint-fix": "eslint --fix -c .eslintrc --ext .tsx,ts ./src",
|
2022-10-21 18:38:19 +00:00
|
|
|
"dist-flatpak": "cd flatpak && flatpak-builder build local.heroic.yml --install --force-clean --user",
|
|
|
|
"flatpak-test": "yarn dist:linux appimage && cd flatpak && flatpak-builder build local.heroic.yml --install --force-clean --user",
|
|
|
|
"i18n": "i18next",
|
|
|
|
"prepare": "husky install",
|
|
|
|
"prettier": "prettier --check .",
|
|
|
|
"prettier-fix": "prettier --write ."
|
|
|
|
},
|
|
|
|
"eslintConfig": {
|
|
|
|
"extends": [
|
|
|
|
"react-app",
|
|
|
|
"react-app/jest"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@testing-library/dom": "^7.31.0",
|
|
|
|
"@testing-library/jest-dom": "^5.16.4",
|
|
|
|
"@testing-library/react": "^13.1.1",
|
|
|
|
"@testing-library/user-event": "^14.1.1",
|
|
|
|
"@types/classnames": "^2.3.1",
|
|
|
|
"@types/i18next-fs-backend": "^1.1.2",
|
|
|
|
"@types/ini": "^1.3.31",
|
|
|
|
"@types/jest": "^27.4.1",
|
|
|
|
"@types/node": "^17.0.25",
|
|
|
|
"@types/plist": "^3.0.2",
|
2023-01-11 07:51:40 +00:00
|
|
|
"@types/react": "^18.0.24",
|
|
|
|
"@types/react-dom": "^18.0.8",
|
2022-10-21 18:38:19 +00:00
|
|
|
"@types/react-router-dom": "^5.3.3",
|
|
|
|
"@types/tmp": "^0.2.3",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.20.0",
|
|
|
|
"@typescript-eslint/parser": "^5.20.0",
|
2023-01-11 07:51:40 +00:00
|
|
|
"@vitejs/plugin-react": "^2.2.0",
|
|
|
|
"electron": "^21.2.1",
|
2022-10-21 18:38:19 +00:00
|
|
|
"electron-builder": "^23.1.0",
|
|
|
|
"electron-devtools-installer": "^3.2.0",
|
|
|
|
"eslint": "^8.13.0",
|
|
|
|
"eslint-config-prettier": "^8.5.0",
|
2023-01-11 07:51:40 +00:00
|
|
|
"eslint-plugin-import": "^2.26.0",
|
2022-10-21 18:38:19 +00:00
|
|
|
"eslint-plugin-react": "^7.29.4",
|
|
|
|
"husky": "^7.0.4",
|
|
|
|
"i18next-parser": "^6.3.0",
|
2023-01-11 07:51:40 +00:00
|
|
|
"jest": "^28.1.3",
|
2022-10-21 18:38:19 +00:00
|
|
|
"prettier": "^2.6.2",
|
|
|
|
"pretty-quick": "^3.1.3",
|
2023-01-11 07:51:40 +00:00
|
|
|
"sass": "^1.55.0",
|
2022-10-21 18:38:19 +00:00
|
|
|
"tmp": "^0.2.1",
|
2023-01-11 07:51:40 +00:00
|
|
|
"ts-jest": "^28.0.7",
|
|
|
|
"typescript": "^4.8.4",
|
|
|
|
"vite": "^3.2.2",
|
|
|
|
"vite-plugin-electron": "^0.10.2",
|
|
|
|
"vite-plugin-svgr": "^2.2.2"
|
2022-10-21 18:38:19 +00:00
|
|
|
}
|
|
|
|
}
|