-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.6 KB
/
Copy pathpackage.json
File metadata and controls
87 lines (87 loc) · 2.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
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
{
"name": "neuralblocks",
"version": "0.1.1",
"description": "可视化深度学习模型构建与训练桌面应用(拖拽搭建 CNN/RNN/Transformer,自动生成 PyTorch 代码,本地训练,AI 助手)",
"main": "out/main/index.js",
"private": true,
"scripts": {
"dev": "electron-vite dev",
"build": "electron-vite build",
"preview": "electron-vite preview",
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p tsconfig.electron.json",
"test:backend": "cd python-backend && python -m pytest tests -q",
"dist": "electron-vite build && electron-builder --win",
"dist:local": "electron-vite build && electron-builder --win --config.electronDist=.electron-cache/electron-v33.4.11 --config.electronVersion=33.4.11",
"dist:mirror": "electron-vite build && cross-env ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ ELECTRON_BUILDER_BINARIES_MIRROR=https://npmmirror.com/mirrors/electron-builder-binaries/ electron-builder --win"
},
"build": {
"appId": "com.neuralblocks.app",
"productName": "NeuralBlocks",
"directories": {
"output": "release"
},
"files": [
"out/**",
"package.json",
"python-backend/app/**",
"python-backend/requirements.txt",
"python-backend/dsl-schema.json"
],
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"artifactName": "NeuralBlocks-${version}-Setup.${ext}"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"shortcutName": "NeuralBlocks"
},
"extraResources": [
{
"from": "python-backend",
"to": "python-backend",
"filter": [
"**/*",
"!**/neuralstudio-env/**",
"!**/neuralblocks-env/**",
"!**/.venv/**",
"!**/data/**",
"!**/generated/**",
"!**/demos/**",
"!**/__pycache__/**",
"!**/*.pyc",
"!**/model.pt"
]
}
]
},
"dependencies": {
"@xyflow/react": "^12.3.5",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"recharts": "^2.13.3",
"zustand": "^5.0.1"
},
"devDependencies": {
"@types/node": "^22.9.0",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@vitejs/plugin-react": "^4.3.3",
"7zip-bin": "^5.2.0",
"app-builder-bin": "^4.2.0",
"cross-env": "^10.1.0",
"electron": "^33.2.0",
"electron-builder": "^26.15.3",
"electron-vite": "^2.3.0",
"typescript": "^5.6.3",
"vite": "^5.4.11"
}
}