-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.62 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 1.62 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
{
"name": "stringlightcad",
"private": true,
"version": "1.0.0",
"type": "module",
"main": "electron/main.cjs",
"description": "基于Web的3D CAD建模工具桌面版",
"author": "User",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"electron:dev": "concurrently -k \"cross-env BROWSER=none npm run dev\" \"wait-on http://localhost:3000 && cross-env NODE_ENV=development electron .\"",
"electron:build": "vite build && electron-builder"
},
"dependencies": {
"@react-three/drei": "^10.7.7",
"@react-three/fiber": "^9.4.2",
"react": "^19.2.1",
"react-dom": "^19.2.1",
"three": "^0.181.2",
"three-bvh-csg": "^0.0.17",
"three-stdlib": "^2.36.1",
"uuid": "^13.0.0"
},
"devDependencies": {
"@types/node": "^22.14.0",
"@vitejs/plugin-react": "^5.0.0",
"concurrently": "^8.2.2",
"cross-env": "^7.0.3",
"electron": "^39.2.6",
"electron-builder": "^24.9.1",
"electron-squirrel-startup": "^1.0.0",
"typescript": "~5.8.2",
"vite": "^6.2.0",
"wait-on": "^7.2.0"
},
"build": {
"appId": "com.stringlightcad.app",
"productName": "StringLightCAD",
"copyright": "Copyright © 2025",
"directories": {
"output": "release"
},
"files": [
"dist/**/*",
"electron/**/*"
],
"extraResources": [
{
"from": "models/",
"to": "models/"
}
],
"win": {
"target": "nsis",
"icon": "stringlight.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true
}
}
}