forked from oneclaw/oneclaw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
40 lines (40 loc) · 2.16 KB
/
package.json
File metadata and controls
40 lines (40 loc) · 2.16 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
{
"name": "OneClaw",
"version": "0.0.0-dev",
"private": true,
"description": "OneClaw desktop app — cross-platform Electron shell for openclaw",
"main": "dist/main.js",
"scripts": {
"generate:settings-icons": "node scripts/generate-settings-icons.js",
"build:chat": "cd chat-ui/ui && npm install --prefer-offline && npx vite build",
"build": "npm run generate:settings-icons && npm run build:chat && tsc -p tsconfig.json",
"predev": "npm run build",
"dev": "electron .",
"package:resources": "node scripts/run-with-env.js node scripts/package-resources.js",
"dist:mac": "npm run dist:mac:arm64",
"dist:mac:arm64": "npm run build && ONECLAW_TARGET=darwin-arm64 npm run package:resources -- --platform darwin --arch arm64 && ONECLAW_TARGET=darwin-arm64 node scripts/run-with-env.js node scripts/run-mac-builder.js --arch arm64 --output out/darwin-arm64",
"dist:mac:x64": "npm run build && ONECLAW_TARGET=darwin-x64 npm run package:resources -- --platform darwin --arch x64 && ONECLAW_TARGET=darwin-x64 node scripts/run-with-env.js node scripts/run-mac-builder.js --arch x64 --output out/darwin-x64",
"dist:win:x64": "npm run build && ONECLAW_TARGET=win32-x64 npm run package:resources -- --platform win32 --arch x64 && ONECLAW_TARGET=win32-x64 electron-builder --win --x64 --config.directories.output=out/win32-x64 --publish never",
"dist:win:arm64": "npm run build && ONECLAW_TARGET=win32-arm64 npm run package:resources -- --platform win32 --arch arm64 && ONECLAW_TARGET=win32-arm64 electron-builder --win --arm64 --config.directories.output=out/win32-arm64 --publish never",
"dist:all:parallel": "bash scripts/dist-all-parallel.sh",
"merge:release": "node scripts/merge-release-yml.js",
"clean": "rm -rf dist resources/runtime resources/gateway resources/targets out"
},
"dependencies": {
"electron-updater": "^6.3.9"
},
"devDependencies": {
"@types/node": "^22.15.0",
"electron": "^40.2.1",
"electron-builder": "^26.7.0",
"isbinaryfile": "^5.0.0",
"lucide": "^0.577.0",
"typescript": "^5.9.3"
},
"engines": {
"node": ">=22.12.0"
},
"overrides": {
"isbinaryfile": "$isbinaryfile"
}
}