-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
44 lines (44 loc) · 1.07 KB
/
package.json
File metadata and controls
44 lines (44 loc) · 1.07 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
{
"name": "chunklab",
"version": "1.0.0",
"description": "Native Sandbox for Text Chunking and Regex Validation",
"main": "electron/main.js",
"scripts": {
"start": "electron .",
"build:frontend": "cd frontend && npm run build",
"build:backend": "pyinstaller --noconfirm --onefile --windowed --name backend --paths . backend/main.py",
"dist": "npm run build:frontend && npm run build:backend && electron-builder",
"postinstall": "cd frontend && npm install"
},
"build": {
"appId": "com.ziffan.chunklab",
"productName": "ChunkLab",
"directories": {
"output": "dist_electron"
},
"win": {
"target": "nsis"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"extraResources": [
{
"from": "dist/backend.exe",
"to": "backend.exe"
}
],
"files": [
"electron/**/*",
"frontend/dist/**/*"
]
},
"devDependencies": {
"electron": "^30.0.0",
"electron-builder": "^24.13.3"
},
"dependencies": {
"axios": "^1.6.8"
}
}