-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 1.58 KB
/
Copy pathpackage.json
File metadata and controls
61 lines (61 loc) · 1.58 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
{
"name": "apprentice",
"version": "0.1.1-beta",
"description": "Offline Electron+React desktop app for game training",
"author": "digital-dev",
"license": "GPL-3.0-only",
"main": "out/main/index.js",
"scripts": {
"dev": "electron-vite dev",
"build": "electron-vite build",
"dist": "electron-vite build && electron-builder --win",
"test": "vitest run"
},
"dependencies": {
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"electron": "^33.0.0",
"@types/node": "^20.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@vitejs/plugin-react": "^4.0.0",
"electron-builder": "^26.15.3",
"electron-vite": "^1.0.0",
"node-addon-api": "^7.0.0",
"node-gyp": "^9.0.0",
"typescript": "^5.0.0",
"vite": "^4.0.0",
"vitest": "^1.0.0"
},
"allowScripts": {
"electron@33.4.11": true,
"esbuild@0.18.20": true,
"esbuild@0.21.5": true,
"electron-winstaller@5.4.0": true
},
"build": {
"appId": "com.apprentice.trainer",
"productName": "Apprentice",
"directories": {
"output": "release"
},
"asar": false,
"files": [
"out/**/*",
"package.json",
{ "from": "native/build/Release", "to": "native/build/Release", "filter": ["memory_addon.node"] },
{ "from": "games", "to": "games", "filter": ["*.json"] }
],
"win": {
"target": "nsis",
"artifactName": "${productName}-Setup-${version}.${ext}"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true
}
}
}