-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
97 lines (97 loc) · 3.06 KB
/
package.json
File metadata and controls
97 lines (97 loc) · 3.06 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
88
89
90
91
92
93
94
95
96
97
{
"name": "clawscad",
"version": "0.1.0",
"description": "AI-powered 3D CAD — OpenSCAD + Claude Code with checkpoint branching",
"main": "main.js",
"scripts": {
"postinstall": "electron-rebuild -f -w node-pty",
"build:renderer": "node -e \"require('fs').mkdirSync('dist',{recursive:true})\" && esbuild renderer.js --bundle --outfile=dist/renderer.js --format=esm --platform=browser --loader:.ttf=file",
"download-openscad": "node scripts/download-openscad.js",
"start": "npm run build:renderer && electron .",
"dev": "npm run build:renderer && electron . --dev",
"test": "npm run build:renderer && npx playwright test",
"test:headed": "npm run build:renderer && npx playwright test --headed",
"pack": "npm run download-openscad && npm run build:renderer && electron-builder --dir",
"dist": "npm run download-openscad && npm run build:renderer && electron-builder",
"dist:linux": "npm run download-openscad && npm run build:renderer && electron-builder --linux",
"dist:win": "npm run download-openscad && npm run build:renderer && electron-builder --win",
"dist:mac": "npm run download-openscad && npm run build:renderer && electron-builder --mac"
},
"dependencies": {
"@xterm/addon-fit": "^0.10.0",
"@xterm/xterm": "^5.5.0",
"chokidar": "^3.6.0",
"monaco-editor": "^0.55.1",
"node-pty": "^1.0.0",
"three": "^0.170.0"
},
"devDependencies": {
"@electron/rebuild": "^3.6.0",
"@playwright/test": "^1.58.2",
"electron": "^33.0.0",
"electron-builder": "^26.8.1",
"electron-playwright-helpers": "^2.1.0",
"esbuild": "^0.24.0"
},
"build": {
"appId": "com.clawscad.app",
"directories": {
"output": "release"
},
"productName": "ClawSCAD",
"artifactName": "${productName}-${version}.${ext}",
"files": [
"main.js",
"preload.js",
"index.html",
"style.css",
"icon.png",
"dist/**/*",
"node_modules/**/*",
"!node_modules/.cache"
],
"extraResources": [
{ "from": "icon.png", "to": "icon.png" }
],
"linux": {
"target": [
{ "target": "AppImage", "arch": ["x64"] }
],
"icon": "icon.png",
"category": "Graphics",
"extraResources": [
{ "from": "vendors/openscad-linux.AppImage", "to": "openscad-linux.AppImage" }
]
},
"win": {
"target": [
{ "target": "nsis", "arch": ["x64"] }
],
"icon": "icon.png",
"extraResources": [
{ "from": "vendors/openscad-win", "to": "openscad-win" }
]
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": true
},
"mac": {
"target": [
{ "target": "dmg", "arch": ["arm64"] }
],
"icon": "icon.png",
"category": "public.app-category.graphics-design",
"extraResources": [
{ "from": "vendors/OpenSCAD.app", "to": "OpenSCAD.app" }
]
},
"dmg": {
"contents": [
{ "x": 130, "y": 220 },
{ "x": 410, "y": 220, "type": "link", "path": "/Applications" }
]
}
},
"license": "MIT"
}