-
-
Notifications
You must be signed in to change notification settings - Fork 246
/
package.json
226 lines (226 loc) · 7.8 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
{
"name": "gdlauncher",
"version": "1.1.30",
"description": "GDLauncher is simple, yet powerful Minecraft custom launcher with a strong focus on the user experience",
"keywords": [
"minecraft",
"launcher",
"gaming",
"games",
"react",
"redux",
"reload",
"sass",
"webpack"
],
"bugs": {
"url": "https://github.com/gorilla-devs/GDLauncher/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gorilla-devs/GDLauncher.git"
},
"license": "GPL-3.0",
"author": {
"name": "GorillaDevs",
"email": "[email protected]",
"url": "https://gdevs.io"
},
"private": false,
"homepage": "./",
"main": "build/electron.js",
"scripts": {
"install": "npm run napi-build && npm run nsfw-move",
"start": "cross-env-shell NODE_ENV=development craco start",
"start-electron": "concurrently \"npm run start\" \"wait-on http://localhost:3000 && electron .\"",
"start-prod": "electron .",
"build-web": "cross-env-shell APP_TYPE=web craco build",
"build": "cross-env-shell NODE_ENV=production APP_TYPE=electron CI=false craco build",
"test": "craco test",
"eject": "craco eject",
"build-electron:portable": "cross-env-shell NODE_ENV=production REACT_APP_RELEASE_TYPE=portable webpack --config ./scripts/electronWebpackConfig.js --color",
"build-electron:setup": "cross-env-shell NODE_ENV=production REACT_APP_RELEASE_TYPE=setup webpack --config ./scripts/electronWebpackConfig.js --color",
"build-electron:dev": "cross-env-shell NODE_ENV=development REACT_APP_RELEASE_TYPE=setup webpack --config ./scripts/electronWebpackConfig.js --color",
"lint": "eslint .",
"dev": "npm run build-electron:dev && cross-env-shell NODE_ENV=development APP_TYPE=electron BROWSER=none \"npm run start-electron\"",
"dev-web": "cross-env-shell NODE_ENV=development APP_TYPE=web npm run start",
"deploy": "node ./scripts/createDeploy.js",
"release:setup": "cross-env-shell NODE_ENV=production APP_TYPE=electron REACT_APP_RELEASE_TYPE=setup \"npm run build\" && npm run build-electron:setup && npm run deploy setup",
"release:portable": "cross-env-shell NODE_ENV=production APP_TYPE=electron REACT_APP_RELEASE_TYPE=portable \"npm run build\" && npm run build-electron:portable && npm run deploy portable",
"upload": "node ./scripts/uploadRelease.js",
"release": "npm run napi-build && rimraf ./deploy && npm run release:setup && npm run release:portable",
"prepare": "husky install",
"napi-build": "cd napi && npm run build && node ../scripts/moveNapi.js",
"nsfw-move": "cd node_modules/nsfw && npm install && cd ../.. && node scripts/moveNsfw.js"
},
"lint-staged": {
"*.{js,jsx}": [
"cross-env NODE_ENV=development eslint --cache --format=pretty",
"prettier --ignore-path .eslintignore --single-quote --write",
"git add"
],
"{*.json,.{babelrc,eslintrc,prettierrc,stylelintrc}}": [
"prettier --ignore-path .eslintignore --parser json --write",
"git add"
],
"*.{css,scss}": [
"stylelint --ignore-path .eslintignore --syntax scss --fix",
"prettier --ignore-path .eslintignore --single-quote --write",
"git add"
],
"*.{yml,md}": [
"prettier --ignore-path .eslintignore --single-quote --write",
"git add"
]
},
"engines": {
"node": ">=14.16.0"
},
"cpu": [
"x64",
"arm64",
"arm"
],
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@ant-design/icons": "^4.7.0",
"@babel/cli": "^7.14.8",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-export-default-from": "^7.14.5",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.14.5",
"@babel/register": "^7.15.3",
"@babel/runtime": "^7.15.3",
"@craco/craco": "^6.4.3",
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-brands-svg-icons": "^5.15.4",
"@fortawesome/free-regular-svg-icons": "^5.15.4",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.1.15",
"@napi-rs/cli": "^2.10.0",
"@sentry/webpack-plugin": "^1.18.3",
"babel-core": "^6.26.3",
"babel-loader": "^8.2.2",
"babel-plugin-macros": "^3.1.0",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-preval": "^5.0.0",
"babel-plugin-styled-components": "^1.13.2",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-preset-minify": "^0.5.1",
"concurrently": "^6.2.1",
"cross-env": "^7.0.3",
"dotenv": "^10.0.0",
"electron": "^19.0.5",
"electron-builder": "^23.0.9",
"electron-updater": "^5.0.4",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.3.0",
"eslint-formatter-pretty": "^4.1.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-compat": "^4.0.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-promise": "^6.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^7.0.4",
"native-ext-loader": "^2.3.0",
"nsfw": "2.1.2",
"prettier": "^2.5.1",
"react-scripts": "4.0.3",
"rimraf": "^3.0.2",
"terser-webpack-plugin": "^4.1.0",
"wait-on": "^6.0.0",
"webpack": "^4.46.0",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.7.2",
"webpack-merge": "^5.8.0"
},
"dependencies": {
"@loadable/babel-plugin": "^5.13.2",
"@sentry/integrations": "^6.16.1",
"@sentry/react": "^6.16.1",
"@sentry/tracing": "^6.16.1",
"@sentry/utils": "^6.16.1",
"7zip-bin": "^5.1.1",
"antd": "^4.21.5",
"axios": "^0.27.2",
"base64-stream": "^1.0.0",
"base64url": "^3.0.1",
"connected-react-router": "^6.9.2",
"craco-antd": "^1.19.0",
"directory-tree": "^2.3.1",
"discord-rpc": "^4.0.1",
"electron-log": "^4.4.5",
"electron-store": "^8.0.1",
"fast-xml-parser": "^4.0.1",
"fs-extra": "^10.1.0",
"get-folder-size": "^3.1.0",
"get-stream": "^6.0.1",
"he": "^1.2.0",
"history": "^4.10.1",
"inter-ui": "^3.19.3",
"is-electron": "^2.2.0",
"jimp": "^0.16.1",
"localforage": "^1.10.0",
"lockfile": "^1.0.4",
"lodash": "^4.17.21",
"make-dir": "^3.1.0",
"memoize-one": "^6.0.0",
"node-7z": "^3.0.0",
"node-machine-id": "^1.1.12",
"p-map": "^5.3.0",
"polished": "^4.1.3",
"preact": "^10.8.2",
"ps-tree": "^1.2.0",
"randomstring": "^1.2.2",
"react": "^17.0.2",
"react-beautiful-dnd": "^13.1.0",
"react-content-loader": "^6.0.3",
"react-contextmenu": "^2.14.0",
"react-dom": "^17.0.2",
"react-html-parser": "^2.0.2",
"react-intersection-observer": "^8.33.1",
"react-markdown": "^7.1.1",
"react-portal": "^4.2.1",
"react-redux": "^7.2.6",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-transition-group": "^4.4.2",
"react-type-animation": "^1.1.2",
"react-virtualized-auto-sizer": "^1.0.6",
"react-window": "^1.8.6",
"react-window-infinite-loader": "^1.0.7",
"redux": "^4.1.2",
"redux-logger": "^3.0.6",
"redux-persist": "^6.0.0",
"reselect": "^4.1.5",
"rooks": "^5.10.0",
"semver": "^7.3.5",
"slate": "^0.81.3",
"slate-history": "^0.65.3",
"slate-react": "^0.65.3",
"styled-components": "^5.3.0",
"symlink-dir": "^5.0.1",
"typeface-roboto": "^1.1.13",
"use-debounce": "^7.0.0",
"user-agents": "^1.0.1048",
"uuid": "^8.3.2"
}
}