forked from Heroic-Games-Launcher/HeroicGamesLauncher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
153 lines (153 loc) · 4.46 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
{
"name": "heroic",
"version": "1.5.9",
"private": true,
"main": "public/main.js",
"homepage": "./",
"license": "GPL-3.0-only",
"description": "A native Epic Games launcher for Linux",
"repository": {
"type": "Github",
"url": "https://github.com/flavioislima/HeroicGamesLauncher"
},
"author": {
"name": "Flavio F",
"email": "[email protected]"
},
"build": {
"appId": "com.electron.heroic",
"files": [
"build/**/*",
"node_modules/**/*"
],
"asarUnpack": [
"build/bin/linux/legendary",
"build/bin/darwin/legendary",
"build/icon.png",
"build/icon-dark.png",
"build/icon-light.png"
],
"directories": {
"buildResources": "public"
},
"protocols": [{
"name": "heroic",
"schemes": ["heroic"]
}],
"icon": "build/icon.icns",
"linux": {
"category": "Game",
"icon": "build/icon.icns",
"description": "A native Epic Games launcher for Linux",
"desktop": {
"Name": "Heroic Games Launcher"
}
},
"deb": {
"packageCategory": "games",
"depends": [
"gawk",
"curl"
]
},
"rpm": {
"packageCategory": "games",
"depends": [
"gawk",
"curl"
]
}
},
"dependencies": {
"@fontsource/cabin": "^4.2.1",
"@fontsource/rubik": "^4.2.1",
"@material-ui/core": "^4.11.3",
"@material-ui/icons": "^4.11.2",
"axios": "^0.21.1",
"classnames": "^2.2.6",
"electron-is-dev": "^1.2.0",
"electron-util": "^0.14.2",
"eslint-plugin-sort-exports": "^0.3.2",
"eslint-plugin-sort-imports-es6-autofix": "^0.5.0",
"eslint-plugin-sort-keys-fix": "^1.1.1",
"i18next": "^19.8.7",
"i18next-browser-languagedetector": "^6.0.1",
"i18next-fs-backend": "^1.0.8",
"i18next-http-backend": "^1.1.0",
"is-online": "^9.0.0",
"pretty-bytes": "^5.6.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-i18next": "^11.8.5",
"react-router-dom": "^5.2.0",
"react-scripts": "4.0.1",
"tslib": "^2.1.0",
"web-vitals": "^0.2.4"
},
"scripts": {
"start": "nf start -p 3000 && electron-start",
"electron-start": "ELECTRON_IS_DEV=1 node public/start-react",
"electron": "yarn build-electron && electron .",
"react-start": "BROWSER=none react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"ci-build": "GH_TOKEN='${{ secrets.WORKFLOW_TOKEN }}' npm run build-electron && npm run build && electron-builder -c.extraMetadata.main=build/main.js --linux deb AppImage rpm pacman",
"dist": "yarn build-electron && yarn build && electron-builder -c.extraMetadata.main=build/main.js --linux",
"dist-mac": "yarn build-electron && yarn build && electron-builder -c.extraMetadata.main=build/main.js --mac",
"lint": "eslint -c .eslintrc --ext .tsx,ts ./src && eslint -c .eslintrc --ext .ts ./electron",
"lint-fix": "eslint --fix -c .eslintrc --ext .tsx,ts ./src && eslint --fix -c .eslintrc --ext .ts ./electron",
"build-electron": "tsc --project electron/tsconfig.json",
"watch-electron": "tsc --watch --project electron/tsconfig.json",
"i18n": "i18next"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"devDependencies": {
"@testing-library/jest-dom": "^5.11.9",
"@testing-library/react": "^11.2.3",
"@testing-library/user-event": "^12.6.2",
"@types/classnames": "^2.2.11",
"@types/i18next-fs-backend": "^1.0.0",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.22",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-router-dom": "^5.1.6",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"electron": "^11.2.0",
"electron-builder": "^22.9.1",
"electron-devtools-installer": "^3.1.1",
"eslint": "^7.18.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-typescript-sort-keys": "^1.5.0",
"foreman": "^3.0.1",
"husky": "^4.3.8",
"i18next-parser": "^3.6.0",
"typescript": "^4.1.3"
},
"husky": {
"hooks": {
"post-checkout": "yarn",
"post-merge": "yarn",
"pre-push": "yarn lint",
"pre-commit": "yarn lint-fix"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version"
]
}
}