-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
50 lines (50 loc) · 1.38 KB
/
package.json
File metadata and controls
50 lines (50 loc) · 1.38 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
{
"name": "flowstate",
"version": "1.0.0",
"description": "FlowState - Project Management Tool",
"main": "electron/main.js",
"scripts": {
"dev": "concurrently \"npm run dev --prefix frontend\" \"wait-on http://localhost:5173 && npm run dev --prefix electron\"",
"build:frontend": "npm run build --prefix frontend",
"build:backend": "dotnet publish backend/Backend.csproj -c Release -o backend/bin/Release/net8.0/publish --self-contained false",
"build:all": "node build.js",
"dist": "npx electron-builder --win"
},
"build": {
"appId": "com.flowstate.app",
"productName": "FlowState",
"directories": {
"output": "dist-electron",
"buildResources": "build"
},
"files": [
"frontend/dist/**/*",
"electron/**/*",
"electron/node_modules/**/*"
],
"extraResources": [
{
"from": "backend/bin/Release/net8.0/publish",
"to": "backend",
"filter": ["**/*"]
}
],
"win": {
"target": ["nsis"],
"icon": "build/icon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
},
"devDependencies": {
"concurrently": "^8.2.2",
"electron": "^39.2.7",
"electron-builder": "^24.9.1",
"wait-on": "^7.2.0"
},
"keywords": ["electron", "react", "dotnet", "project-management"],
"author": "Your Name",
"license": "MIT"
}