nixpkgs/pkgs/games/heroic/package.json

235 lines
6.5 KiB
JSON
Raw Normal View History

{
"name": "heroic",
"version": "2.5.2",
"private": true,
"main": "build/electron/main.js",
"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": {
"artifactName": "${productName}-${version}-Setup.${ext}",
"icon": "build/win_icon.ico",
"asarUnpack": [
"build/bin/win32/legendary.exe",
"build/bin/win32/gogdl.exe"
],
"files": [
"build/bin/win32/*"
]
},
"portable": {
"artifactName": "${productName}-${version}-Portable.${ext}"
},
"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",
"@mui/icons-material": "^5.10.9",
"@mui/material": "^5.10.12",
"@node-steam/vdf": "^2.2.0",
"@shockpkg/icon-encoder": "^2.1.3",
"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",
"howlongtobeat": "^1.7.0",
"i18next": "^21.6.16",
"i18next-fs-backend": "^1.1.4",
"i18next-http-backend": "^1.4.0",
"ini": "^3.0.0",
"plist": "^3.0.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^11.16.7",
"react-markdown": "^8.0.3",
"react-router-dom": "^6.3.0",
"recharts": "^2.1.14",
"shlex": "^2.1.2",
"short-uuid": "^4.2.0",
"simple-keyboard": "^3.4.136",
"source-map-support": "^0.5.21",
"steam-shortcut-editor": "^3.1.1",
"systeminformation": "^5.15.0",
"tslib": "^2.4.0"
},
"scripts": {
"start": "vite",
"codecheck": "tsc --noEmit",
"test": "jest",
"test-watch": "jest --watch --maxWorkers=25%",
"test:ci": "jest --runInBand --silent",
"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",
"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",
"@types/react": "^18.0.24",
"@types/react-dom": "^18.0.8",
"@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",
"@vitejs/plugin-react": "^2.2.0",
"electron": "^21.2.1",
"electron-builder": "^23.1.0",
"electron-devtools-installer": "^3.2.0",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-react": "^7.29.4",
"husky": "^7.0.4",
"i18next-parser": "^6.3.0",
"jest": "^28.1.3",
"prettier": "^2.6.2",
"pretty-quick": "^3.1.3",
"sass": "^1.55.0",
"tmp": "^0.2.1",
"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"
}
}