-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.95 KB
/
Copy pathpackage.json
File metadata and controls
94 lines (94 loc) · 2.95 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
{
"name": "but-therefore",
"version": "0.2.2",
"private": true,
"description": "Chromium-based Story Beat Node Editor",
"main": "dist-electron/main.js",
"scripts": {
"dev": "concurrently -k \"npm:dev:renderer\" \"npm:dev:electron:build\" \"npm:dev:electron:run\"",
"dev:renderer": "vite",
"dev:electron:build": "tsup electron/main.ts electron/preload.ts --format cjs --out-dir dist-electron --target node20 --external electron --external electron-updater --watch --sourcemap",
"dev:electron:run": "wait-on tcp:5173 file:dist-electron/main.js && cross-env VITE_DEV_SERVER_URL=http://localhost:5173 electron .",
"build": "npm run build:renderer && npm run build:electron",
"build:renderer": "vite build",
"build:demo": "vite build",
"build:electron": "tsup electron/main.ts electron/preload.ts --format cjs --out-dir dist-electron --target node20 --external electron --external electron-updater",
"typecheck": "tsc --noEmit",
"dist": "npm run build && electron-builder --publish never",
"dist:win": "npm run build && electron-builder --win nsis --publish never",
"release:win": "npm run build && electron-builder --win nsis --publish always",
"release:win:auto": "powershell -ExecutionPolicy Bypass -File ./scripts/release-win.ps1"
},
"dependencies": {
"@xyflow/react": "^12.8.4",
"electron-updater": "^6.8.3",
"lucide-react": "^0.577.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"zustand": "^5.0.8"
},
"devDependencies": {
"@types/node": "^24.3.0",
"@types/react": "^18.3.4",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^5.0.2",
"concurrently": "^9.2.1",
"cross-env": "^10.0.0",
"electron": "^37.3.1",
"electron-builder": "^26.8.1",
"tsup": "^8.5.0",
"typescript": "^5.9.2",
"vite": "^7.1.3",
"wait-on": "^8.0.5"
},
"build": {
"appId": "com.jejkobb.buttherefore",
"productName": "ButTherefore",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"dist-electron/**/*",
"icons/**/*",
"package.json"
],
"win": {
"signAndEditExecutable": false,
"icon": "icons/icon.ico",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"artifactName": "${productName}-Setup-${version}.${ext}"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"installerIcon": "icons/icon.ico",
"uninstallerIcon": "icons/icon.ico",
"installerHeaderIcon": "icons/icon.ico"
},
"fileAssociations": [
{
"ext": "buttherefore",
"name": "ButTherefore Project",
"description": "ButTherefore project file",
"role": "Editor",
"icon": "icons/icon.ico"
}
],
"publish": [
{
"provider": "github",
"owner": "Jejkobb",
"repo": "ButTherefore"
}
]
}
}