mirror of
https://github.com/openswarm-ai/openswarm.git
synced 2026-08-17 18:25:42 +02:00
132 lines
3.2 KiB
JSON
132 lines
3.2 KiB
JSON
{
|
|
"name": "openswarm",
|
|
"version": "1.0.24",
|
|
"description": "OpenSwarm — AI Agent Orchestrator",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"start": "electron .",
|
|
"dev": "cross-env ELECTRON_DEV=1 electron .",
|
|
"postinstall": "node scripts/sign-vmp.js",
|
|
"sign-vmp": "node scripts/sign-vmp.js",
|
|
"dist": "electron-builder --mac --publish never",
|
|
"dist:publish": "electron-builder --mac --publish always",
|
|
"dist:win": "electron-builder --win --x64 --publish never",
|
|
"dist:win:publish": "electron-builder --win --x64 --publish always",
|
|
"dist:all": "electron-builder --mac --win --linux"
|
|
},
|
|
"dependencies": {
|
|
"electron-updater": "^6.3.0",
|
|
"get-port": "^5.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@electron/notarize": "^3.1.1",
|
|
"cross-env": "^7.0.3",
|
|
"electron": "castlabs/electron-releases#v40.7.0+wvcus",
|
|
"electron-builder": "^25.1.0"
|
|
},
|
|
"build": {
|
|
"appId": "com.clusterlabs.openswarm",
|
|
"productName": "OpenSwarm",
|
|
"electronDownload": {
|
|
"mirror": "https://github.com/castlabs/electron-releases/releases/download/v"
|
|
},
|
|
"directories": {
|
|
"output": "dist"
|
|
},
|
|
"icon": "build/icon.png",
|
|
"mac": {
|
|
"icon": "build/icon.icns",
|
|
"target": [
|
|
"dmg",
|
|
"zip"
|
|
],
|
|
"category": "public.app-category.developer-tools",
|
|
"hardenedRuntime": true,
|
|
"entitlements": "build/entitlements.mac.plist",
|
|
"entitlementsInherit": "build/entitlements.mac.plist"
|
|
},
|
|
"dmg": {
|
|
"artifactName": "OpenSwarm-${arch}.${ext}",
|
|
"title": "OpenSwarm ${version}",
|
|
"contents": [
|
|
{
|
|
"x": 130,
|
|
"y": 220
|
|
},
|
|
{
|
|
"x": 410,
|
|
"y": 220,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
}
|
|
]
|
|
},
|
|
"win": {
|
|
"icon": "build/icon.ico",
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": ["x64"]
|
|
}
|
|
],
|
|
"artifactName": "OpenSwarm-Setup-${version}-${arch}.${ext}",
|
|
"sign": "./build/sign-windows.js",
|
|
"signingHashAlgorithms": ["sha256"],
|
|
"signDlls": false
|
|
},
|
|
"nsis": {
|
|
"oneClick": true,
|
|
"perMachine": false,
|
|
"allowToChangeInstallationDirectory": false,
|
|
"createDesktopShortcut": true,
|
|
"createStartMenuShortcut": true,
|
|
"shortcutName": "OpenSwarm",
|
|
"deleteAppDataOnUninstall": false,
|
|
"artifactName": "OpenSwarm-Setup-${version}-${arch}.${ext}"
|
|
},
|
|
"extraResources": [
|
|
{
|
|
"from": "build-staging/frontend",
|
|
"to": "frontend",
|
|
"filter": [
|
|
"**/*"
|
|
]
|
|
},
|
|
{
|
|
"from": "build-staging/backend",
|
|
"to": "backend",
|
|
"filter": [
|
|
"**/*"
|
|
]
|
|
},
|
|
{
|
|
"from": "build-staging/debugger",
|
|
"to": "debugger",
|
|
"filter": [
|
|
"**/*"
|
|
]
|
|
},
|
|
{
|
|
"from": "python-env",
|
|
"to": "python-env",
|
|
"filter": [
|
|
"**/*"
|
|
]
|
|
},
|
|
{
|
|
"from": "build-staging/9router",
|
|
"to": "9router",
|
|
"filter": [
|
|
"**/*"
|
|
]
|
|
}
|
|
],
|
|
"publish": {
|
|
"provider": "github",
|
|
"owner": "openswarm-ai",
|
|
"repo": "openswarm"
|
|
},
|
|
"afterSign": "scripts/notarize.js"
|
|
}
|
|
}
|