-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 4.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
{
"name": "smoke",
"author": "Flare, Forge.",
"description": "all-in-one game launcher",
"license": "CC-BY-SA-4.0",
"version": "0.0.19",
"main": "./app-back/.build/index.js",
"scripts": {
" DEVELOPMENT SCRIPTS --------------": "",
"dev": "concurrently \"npm run dev:front\" \"npm run dev:back\"",
"dev:full": "concurrently \"npm run dev:front\" \"npm run dev:bin\"",
" DEVELOPMENT SUB-SCRIPTS ----------": "",
"dev:back": "nodemon --watch \"./app-back/**/*\" --ext js,ts --exec \"npm run dev:back:transpile && npm run dev:back:copy && npm run dev:back:run\"",
"dev:back:transpile": "npx tsc ./app-back/index.ts ./app-back/preloadApp.ts ./app-back/preloadOverlay.ts --outDir ./app-back/.dev/build --module commonjs --target es6 --esModuleInterop",
"dev:back:copy": "copyfiles ./app-bin/index.node ./app-back/.dev/ && copyfiles -f ./app-back/Assets/**/* ./app-back/.dev/Assets/",
"dev:back:run": "electron ./app-back/.dev/build/index.js",
"dev:bin": "nodemon --watch \"./app-bin/**/*\" --ext rs --exec \"npm run dev:bin:build && npm run dev:back\"",
"dev:bin:build": "npx cargo-cp-artifact -nc app-bin/index.node -- cargo build --target-dir app-bin/.build --message-format=json-render-diagnostics",
"dev:front": "npx vite",
" BUILD SCRIPTS --------------------": "",
"build": "npm run build:front && npm run build:back && npm run build:app",
"build:full": "npm run clean && npm run build:front && npm run build:bin && npm run build:back && npm run build:app",
" BUILD SUB SCRIPTS ----------------": "",
"build:back": "webpack --mode production",
"build:bin": "npm run dev:bin:build -- --release",
"build:front": "npx vite build",
"build:app": "electron-builder -p never",
"build:run": "npm run build && npm run start",
" UTILS SCRIPTS --------------------": "",
"analyze:back": "set ANALYZE=1 && npm run build:back",
"analyze:front": "npm run build:front && npx vite-bundle-visualizer",
"clean": "npx rimraf .build && npx rimraf app-back/.build && npx rimraf app-front/.build && npx rimraf app-back/.dev && npx rimraf app-bin/.build"
},
"build": {
"appId": "com.flareforge.smoke",
"productName": "smoke",
"npmRebuild": "false",
"directories": {
"buildResources": "app-back/Assets",
"output": ".build"
},
"publish": [
{
"provider": "generic",
"url": "https://mgwbnslnolkjpugojhun.supabase.co/storage/v1/object/public/delivery/"
}
],
"win": {
"publisherName": "Flare, Forge.",
"verifyUpdateCodeSignature": false,
"target": [
"nsis-web",
"nsis"
]
},
"extraFiles": [
{
"from": "app-bin/Static/",
"to": "bin/",
"filter": [
"**/*"
]
}
],
"files": [
"!**/node_modules/**/*",
"app-front/.build/**/*",
"app-back/.build/**/*",
"app-back/Assets/**/*"
]
},
"prettier": {
"tabWidth": 4,
"useTabs": false
},
"dependencies": {
"@equal-games/game-scanner": "1.1.4",
"electron-log": "^5.0.3",
"electron-store": "~8.1.0",
"electron-updater": "~6.1.7",
"extract-zip": "2.0.1",
"ini": "4.1.1",
"keytar": "~7.9.0",
"open": "6.4.0",
"react": "~18.2.0",
"react-dom": "~18.2.0",
"react-router-dom": "~6.20.0",
"react-twitch-embed": "^3.0.1"
},
"devDependencies": {
"@babel/core": "^7.23.5",
"@babel/preset-env": "^7.23.5",
"@types/node": "^20.10.4",
"@types/react-dom": "^18.2.15",
"@typescript-eslint/eslint-plugin": "^6.14.0",
"@typescript-eslint/parser": "^6.14.0",
"@vitejs/plugin-react": "^4.2.0",
"babel-loader": "^9.1.3",
"cargo-cp-artifact": "^0.1",
"concurrently": "^8.2.2",
"copyfiles": "^2.4.1",
"electron": "^27.1.2",
"electron-builder": "^24.6.4",
"eslint": "^8.53.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.4",
"neon-cli": "^0.10.1",
"node-loader": "^2.0.0",
"nodemon": "^3.0.2",
"rimraf": "^5.0.5",
"styled-components": "^6.1.1",
"terser-webpack-plugin": "^5.3.9",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"vite": "^5.0.0",
"vite-bundle-visualizer": "^0.11.0",
"webpack": "^5.89.0",
"webpack-bundle-analyzer": "^4.10.1",
"webpack-cli": "^5.1.4"
}
}