forked from Nexus-Mods/Vortex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
360 lines (360 loc) · 14.5 KB
/
package.json
File metadata and controls
360 lines (360 loc) · 14.5 KB
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
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
{
"private": true,
"name": "vortex_devel",
"version": "0.0.1",
"main": "out/main.js",
"author": "Black Tree Gaming Ltd.",
"repository": {
"type": "git",
"url": "https://github.com/Nexus-Mods/Vortex"
},
"scripts": {
"_assets_out": "yarn run update_aboutpage && tsc -p extensions/games && node InstallAssets.js out && sass --style compressed src/stylesheets/loadingScreen.scss > out/assets/css/loadingScreen.css && yarn run build_tailwind_out",
"_assets_app": "yarn run update_aboutpage && tsc -p extensions/games && node InstallAssets.js app && sass --style compressed src/stylesheets/loadingScreen.scss > app/assets/css/loadingScreen.css && yarn run build_tailwind_app",
"_install_app": "cd app && rm-local-modules && yarn install --non-interactive --check-files && yarn autoclean --force",
"build_tailwind_out": "tailwindcss -i src/stylesheets/tailwind-v4.css -o out/assets/css/tailwind-v4.css --content 'src/**/*.{ts,tsx}'",
"build_tailwind_app": "tailwindcss -i src/stylesheets/tailwind-v4.css -o app/assets/css/tailwind-v4.css",
"watch_tailwind": "tailwindcss -i src/stylesheets/tailwind-v4.css -o out/assets/css/tailwind-v4.css --watch",
"subprojects": "node BuildSubprojects.js out",
"subprojects_app": "node BuildSubprojects.js app",
"subprojects_app_ci": "node BuildSubprojects.js app --noparallel",
"build_api": "cd api && yarn run build && cd .. && yarn run docs",
"build_rest": "yarn run format && yarn run _assets_out && yarn run build_api && yarn run subprojects",
"build_dist": "webpack --config webpack.main.config.js && webpack --config webpack.renderer.config.js",
"extract_sourcemaps": "node copy_sourcemaps.js",
"package": "electron-builder --config electron-builder-config.json --publish never",
"package:nocodesign": "electron-builder --config electron-builder-config-nocodesign.json --publish never",
"download:prerequisites": "curl -L \"https://aka.ms/vs/17/release/vc_redist.x64.exe\" -o \"build/VC_redist.x64.exe\" && curl -L \"https://aka.ms/dotnet/9.0/windowsdesktop-runtime-win-x64.exe\" -o \"build/windowsdesktop-runtime-win-x64.exe\"",
"build_dist:local": "yarn download:prerequisites && yarn --network-timeout 600000 install && yarn --non-interactive build_api && yarn --non-interactive _install_app && yarn --non-interactive subprojects_app && yarn --non-interactive _assets_app && yarn build_dist && yarn package:nocodesign",
"predist": "yarn run --non-interactive build_api && yarn run --non-interactive _install_app && yarn run --non-interactive subprojects_app && yarn run --non-interactive _assets_app",
"dist": "yarn run build_dist && yarn run package && yarn run extract_sourcemaps",
"prepareci": "yarn run --non-interactive build_api && yarn run --non-interactive _install_app && yarn run --non-interactive subprojects_ci && yarn run --non-interactive _assets_app",
"ci": "node checkPackages.js && yarn run prepareci && yarn run build_dist && electron-builder --config electron-builder-ci.json --publish never",
"testbuild": "node checkPackages.js && yarn run prepareci && yarn run build_dist && electron-builder --config electron-builder-test.json --publish never",
"start": "cross-env NODE_ENV=development electron . --inspect=9229 --remote-debugging-port=9222",
"clean": "yarn add rm-local-modules && rm-local-modules && yarn install --check-files",
"modules:setup": "node scripts/manage-node-modules.js setup-remotes",
"modules:status": "node scripts/manage-node-modules.js status",
"modules:summary": "node scripts/manage-node-modules.js summary",
"modules:create-branch": "node scripts/manage-node-modules.js create-branch",
"modules:delete-branch": "node scripts/manage-node-modules.js delete-branch",
"modules:open-prs": "node scripts/open-pr-links.js",
"modules:commit": "node scripts/manage-node-modules.js commit",
"modules:push": "node scripts/manage-node-modules.js push",
"modules:workflow": "node scripts/manage-node-modules.js workflow",
"modules:cpp": "node scripts/manage-node-modules.js status cpp",
"modules:csharp": "node scripts/manage-node-modules.js status csharp",
"modules:convert": "node scripts/convert-to-git.js convert",
"modules:convert-dry": "node scripts/convert-to-git.js dry-run",
"modules:convert-cpp": "node scripts/convert-to-git.js convert cpp",
"modules:convert-dry-cpp": "node scripts/convert-to-git.js dry-run cpp",
"modules:update-branch": "node scripts/update-package-branches.js update",
"modules:restore-deps": "node scripts/update-package-branches.js restore",
"modules:scan-deps": "node scripts/update-package-branches.js scan",
"modules:show-branches": "node scripts/update-package-branches.js show-branches",
"modules:reinstall": "node scripts/update-package-branches.js reinstall",
"preinstall": "node preinstall.js",
"postinstall": "node postinstall.js",
"install:debug": "cross-env VORTEX_BUILD_CONFIG=Debug yarn install",
"test": "jest --no-cache",
"build": "yarn run check_packages && yarn run build_rest && tsc -p .",
"buildwatch": "yarn run build_rest && tsc -p . --watch",
"buildext": "node ./tools/buildScripts/buildSingleExtension.js",
"generate_validation": "generate-validation .",
"update_aboutpage": "node ./updateLicenses.js",
"check_packages": "node checkPackages.js",
"test:e2e": "playwright test",
"test:e2e:headed": "playwright test --headed",
"test:e2e:debug": "playwright test --debug",
"test:e2e:report": "playwright show-report",
"docs": "yarn api-extractor run --local",
"lint": "yarn eslint .",
"lint:quiet": "yarn eslint . --quiet",
"format": "yarn prettier src --write",
"format:check": "yarn prettier src --check"
},
"jest": {
"testEnvironment": "jsdom",
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest",
"^.+\\.(js|jsx)$": "babel-jest"
},
"moduleNameMapper": {
"^cheerio$": "<rootDir>/__mocks__/cheerio.js",
"^cheerio/lib/utils$": "<rootDir>/__mocks__/cheerio-utils.js",
"^shortid$": "<rootDir>/__mocks__/shortid.js",
"^../util/ComponentEx$": "<rootDir>/__mocks__/ComponentEx.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(js|jsx|ts|tsx)$",
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/",
"/app/",
"/playwright/"
],
"moduleFileExtensions": [
"js",
"json",
"jsx",
"ts",
"tsx",
"node"
],
"setupFilesAfterEnv": [
"<rootDir>setupTests.js"
]
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"publish": {
"provider": "github"
},
"devDependencies": {
"@babel/cli": "^7.25.6",
"@babel/core": "^7.25.2",
"@babel/plugin-proposal-class-properties": "7.16.7",
"@babel/plugin-proposal-object-rest-spread": "7.16.7",
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "^7.25.4",
"@babel/preset-react": "^7.24.4",
"@babel/preset-stage-0": "7.8.3",
"@babel/preset-typescript": "7.16.7",
"@babel/register": "7.16.8",
"@eslint-react/eslint-plugin": "2.3.7",
"@eslint/js": "9.39.1",
"@microsoft/api-extractor": "^7.55.1",
"@playwright/test": "^1.55.0",
"@types/babel-core": "^6.25.6",
"@types/babel-template": "^6.25.2",
"@types/babel-traverse": "^6.25.5",
"@types/babel-types": "^7.0.7",
"@types/babylon": "^6.16.5",
"@types/bluebird": "3.5.20",
"@types/classnames": "^2.2.9",
"@types/content-disposition": "^0.5.2",
"@types/content-type": "^1.1.3",
"@types/d3": "^5.7.2",
"@types/debug": "^4.1.5",
"@types/draggabilly": "2.1.3",
"@types/encoding-down": "5.0.0",
"@types/enzyme": "^3.10.3",
"@types/ffi": "^0.2.2",
"@types/fs-extra": "^9.0.4",
"@types/glob": "^9.0.0",
"@types/graphlib": "^2.1.5",
"@types/immutability-helper": "^2.6.3",
"@types/jest": "^29.4.0",
"@types/json-socket": "0.1.17",
"@types/levelup": "^4.3.0",
"@types/lodash": "^4.14.149",
"@types/minimatch": "^3.0.5",
"@types/mixpanel": "^2.14.9",
"@types/node": "^22.0.0",
"@types/node-uuid": "^0.0.28",
"@types/numeral": "^2.0.5",
"@types/packery": "^1.4.32",
"@types/react": "16.14.66",
"@types/react-bootstrap": "^0.32.20",
"@types/react-datepicker": "^2.9.4",
"@types/react-dom": "16.9.25",
"@types/react-redux": "^7.1.9",
"@types/react-select": "^1.2.0",
"@types/react-sortable-tree": "^0.3.11",
"@types/react-test-renderer": "^16.9.1",
"@types/react-transition-group": "^4.2.3",
"@types/redux": "^3.6.0",
"@types/redux-devtools": "^3.0.47",
"@types/redux-devtools-log-monitor": "^1.0.34",
"@types/ref": "^0.0.28",
"@types/ref-struct": "^0.0.29",
"@types/ref-union": "^0.0.28",
"@types/relaxed-json": "^1.0.0",
"@types/request": "^2.48.3",
"@types/resolve": "^0.0.8",
"@types/rimraf": "^2.0.3",
"@types/semver": "^7.5.8",
"@types/shortid": "^0.0.29",
"@types/tmp": "^0.1.0",
"@types/universal-analytics": "^0.4.5",
"@types/uuid": "^3.4.6",
"@types/webpack": "^4.41.0",
"@types/winreg": "^1.2.30",
"@types/winston": "^2.4.4",
"@types/write-file-atomic": "^2.1.2",
"@types/ws": "^6.0.3",
"@types/xml2js": "^0.4.5",
"@welldone-software/why-did-you-render": "^7.0.1",
"@yarnpkg/lockfile": "*",
"babel-jest": "^29.7.0",
"babel-loader": "^8.0.6",
"babel-plugin-i18next-extract": "^0.4.0",
"babel-polyfill": "^6.26.0",
"bootswatch": "^4.3.1",
"concurrently": "^5.0.0",
"copyfiles": "^2.3.0",
"cross-env": "^6.0.3",
"dotenv": "^17.2.3",
"electron": "37.4.0",
"electron-builder": "^24.13.3",
"electron-devtools-installer": "^3.2.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.15.1",
"esbuild-loader": "^4.2.2",
"eslint": "9.39.1",
"eslint-config-prettier": "10.1.8",
"fork-ts-checker-webpack-plugin": "^9.0.2",
"globals": "16.5.0",
"jest": "^29.7.0",
"jest-cli": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"json-loader": "^0.5.7",
"license-checker": "^25.0.1",
"minimist": "^1.2.6",
"node-gyp": "^10.0.0",
"prebuild-install": "^7.1.0",
"prettier": "3.6.2",
"react-docgen-typescript-loader": "^3.6.0",
"react-shallow-testutils": "^3.0.1",
"react-test-renderer": "^16.12.0",
"redux-devtools": "^3.7.0",
"redux-devtools-dispatch": "^2.2.1",
"redux-devtools-log-monitor": "^1.4.0",
"redux-freeze": "^0.1.7",
"request": "^2.88.0",
"resolve-url-loader": "^5.0.0-beta.1",
"rm-local-modules": "^0.0.2",
"sass-loader": "^8.0.0",
"terser-webpack-plugin": "^5.3.10",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.1",
"ts-v-gen": "^1.0.1",
"typescript": "^5.0.0",
"typescript-eslint": "8.47.0",
"vortex-api": "Nexus-Mods/vortex-api",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-node-externals": "^3.0.0"
},
"dependencies": {
"@electron/remote": "^2.0.12",
"@mdi/js": "6.6.96",
"@msgpack/msgpack": "^2.7.0",
"@nexusmods/nexus-api": "Nexus-Mods/node-nexus-api",
"@tailwindcss/cli": "^4.1.15",
"bbcode-to-react": "TanninOne/bbcode-to-react",
"big.js": "^5.2.2",
"bluebird": "^3.7.2",
"bootstrap-sass": "^3.4.1",
"classnames": "^2.2.6",
"commander": "^4.0.1",
"content-disposition": "^0.5.3",
"content-type": "^1.0.4",
"crash-dump": "Nexus-Mods/node-crash-dump",
"d3": "^5.14.1",
"date-fns": "^2.8.0",
"dayjs": "^1.11.10",
"dequal": "^2.0.3",
"diskusage": "TanninOne/node-diskusage",
"dnd-core": "^9.4.0",
"draggabilly": "^2.2.0",
"drivelist": "TanninOne/drivelist",
"electron-context-menu": "^3.1.1",
"electron-redux": "TanninOne/electron-redux",
"electron-updater": "^4.2.0",
"encoding-down": "^6.3.0",
"exe-version": "Nexus-Mods/node-exe-version",
"feedparser": "^2.2.9",
"fomod-installer-ipc": "file:./extensions/fomod-installer/src/ModInstaller.IPC.TypeScript",
"fomod-installer-native": "file:./extensions/fomod-installer/src/ModInstaller.Native.TypeScript",
"fs-extra": "^9.1.0",
"fuzzball": "^1.3.0",
"glob": "^11.0.3",
"graphlib": "^2.1.7",
"i18next": "^19.0.1",
"i18next-fs-backend": "^2.1.1",
"iconv-lite": "^0.5.0",
"immutability-helper": "^3.0.1",
"interweave": "^12.9.0",
"is-admin": "^3.0.0",
"json-socket": "foi/node-json-socket",
"jsonwebtoken": "^9.0.0",
"leveldown": "^5.6.0",
"levelup": "^4.4.0",
"lodash": "^4.17.21",
"memoize-one": "^5.1.1",
"minimatch": "^3.0.5",
"mixpanel-browser": "^2.71.0",
"modmeta-db": "Nexus-Mods/modmeta-db",
"native-errors": "Nexus-Mods/node-native-errors",
"node-7z": "Nexus-Mods/node-7z",
"normalize-url": "^6.0.1",
"numeral": "^2.0.6",
"packery": "^2.1.2",
"permissions": "Nexus-Mods/node-permissions",
"prop-types": "^15.7.2",
"re-reselect": "^3.4.0",
"re-resizable": "^6.9.9",
"react": "^16.12.0",
"react-bootstrap": "^0.33.0",
"react-datepicker": "^3.3.0",
"react-dnd": "^14.0.5",
"react-dnd-html5-backend": "^14.0.5",
"react-dom": "^16.12.0",
"react-hot-toast": "^2.6.0",
"react-i18next": "^11.11.0",
"react-markdown": "^6.0.2",
"react-overlays": "^1.2.0",
"react-redux": "^7.1.3",
"react-resize-detector": "^4.2.1",
"react-select": "^1.2.1",
"react-sortable-tree": "Nexus-Mods/react-sortable-tree",
"recharts": "^1.8.5",
"redux": "^4.0.4",
"redux-act": "^1.8.0",
"redux-batched-actions": "^0.5.0",
"redux-thunk": "^2.3.0",
"relaxed-json": "^1.0.3",
"reselect": "^4.1.7",
"resolve": "^1.12.0",
"rimraf": "TanninOne/rimraf",
"sass": "1.32.*",
"semver": "^7.6.0",
"shortid": "2.2.17",
"simple-vdf": "Nexus-Mods/vdf-parser",
"source-map-support": "^0.5.16",
"string-template": "^1.0.0",
"tailwindcss": "^4.1.15",
"tmp": "^0.1.0",
"turbowalk": "Nexus-Mods/node-turbowalk",
"universal-analytics": "^0.4.23",
"uuid": "^3.3.3",
"vortex-parse-ini": "Nexus-Mods/vortex-parse-ini",
"vortex-run": "file:src/util/vortex-run",
"vortexmt": "Nexus-Mods/node-vortexmt",
"wholocks": "Nexus-Mods/node-wholocks",
"winapi-bindings": "Nexus-Mods/node-winapi-bindings",
"winston": "^2.4.3",
"write-file-atomic": "^3.0.1",
"ws": "^7.4.6",
"xml2js": "^0.5.0",
"xxhash-addon": "^2.0.3"
},
"resolutions": {
"node-gyp": "^10.0.0",
"@types/react": "16.14.66",
"@types/react-dom": "16.9.25",
"**/dir-compare/minimatch": "3.0.5"
},
"packageManager": "yarn@1.22.19",
"engines": {
"node": "22.19"
},
"volta": {
"node": "22.19.0",
"yarn": "1.22.19"
}
}