-
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.6 KB
/
Copy pathpackage.json
File metadata and controls
61 lines (61 loc) · 1.6 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": "aigument-desktop",
"version": "2.1.0",
"private": true,
"description": "AIgument desktop packaging workspace",
"main": "desktop/main.js",
"scripts": {
"dev": "powershell -ExecutionPolicy Bypass -File scripts/dev.ps1",
"desktop:dev": "electron .",
"lint:frontend": "npm --prefix frontend run lint",
"test:backend": "powershell -ExecutionPolicy Bypass -File scripts/test-backend.ps1",
"build:frontend": "npm --prefix frontend run build",
"build:backend": "powershell -ExecutionPolicy Bypass -File scripts/build-backend.ps1",
"build:desktop": "electron-builder --win nsis",
"verify": "npm run lint:frontend && npm run build:frontend && npm run test:backend",
"package:win": "npm run build:frontend && npm run build:backend && npm run build:desktop"
},
"devDependencies": {
"electron": "^36.3.2",
"electron-builder": "^26.0.12"
},
"build": {
"appId": "com.aigument.desktop",
"productName": "AIgument",
"directories": {
"output": "release"
},
"files": [
"desktop/**/*",
"package.json"
],
"extraResources": [
{
"from": "dist/backend/AIgumentBackend",
"to": "backend"
},
{
"from": "src/static/dist",
"to": "frontend_dist"
},
{
"from": "backend/.env.example",
"to": "backend/.env.example"
}
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
}
}