128 lines
4.2 KiB
JSON
128 lines
4.2 KiB
JSON
{
|
|
"name": "@opensquilla/desktop-electron",
|
|
"version": "0.5.0-rc3",
|
|
"private": true,
|
|
"description": "Electron desktop shell for the OpenSquilla Control UI.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/opensquilla/opensquilla.git"
|
|
},
|
|
"type": "module",
|
|
"main": "dist/main.js",
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"build:gateway": "node scripts/build-gateway.mjs",
|
|
"build:web": "cd ../../opensquilla-webui && npm run build",
|
|
"dev": "npm run build && electron .",
|
|
"dist:local": "npm run build:web && npm run build:gateway && npm run dist",
|
|
"pack:local": "npm run build:web && npm run build:gateway && npm run pack",
|
|
"verify:icons": "node scripts/verify-icon-config.mjs",
|
|
"verify:package": "npm run verify:icons && node scripts/verify-package.mjs",
|
|
"verify:gateway-smoke": "node scripts/smoke-gateway.mjs",
|
|
"test:cli-invocation": "npm run build && node scripts/test-cli-invocation.mjs",
|
|
"test:secret-storage": "npm run build && node scripts/test-secret-storage-policy.mjs",
|
|
"test:update-resolver": "npm run build && node scripts/test-update-resolver.mjs",
|
|
"test:desktop-locale": "npm run build && node scripts/test-desktop-locale.mjs",
|
|
"test:profile-substrate": "npm run build && node scripts/test-desktop-profile-substrate.mjs && node scripts/test-desktop-profile-context.mjs",
|
|
"test:profile-recovery-flow": "npm run build && node scripts/test-profile-recovery-flow.mjs",
|
|
"test:profile-recovery-accessibility": "npm run build && node scripts/test-profile-recovery-accessibility.mjs",
|
|
"test:profile-import-flow": "npm run build && node scripts/test-profile-import-flow.mjs",
|
|
"test:unsafe-profile-no-write": "npm run build && node scripts/test-unsafe-profile-no-write.mjs",
|
|
"test:profile-recovery": "npm run build && node scripts/test-profile-recovery-flow.mjs && node scripts/test-profile-recovery-accessibility.mjs && node scripts/test-unsafe-profile-no-write.mjs",
|
|
"test:desktop-cleanup": "npm run build && node scripts/test-desktop-cleanup-contract.mjs",
|
|
"test:desktop-cleanup-flow": "npm run build && node scripts/test-desktop-cleanup-flow.mjs",
|
|
"test:mock-update-flow": "npm run build && node scripts/test-mock-update-flow.mjs",
|
|
"test:onboarding-flow": "npm run build && node scripts/test-onboarding-flow.mjs",
|
|
"start": "electron .",
|
|
"pack": "npm run build && electron-builder --dir",
|
|
"dist": "npm run build && electron-builder"
|
|
},
|
|
"dependencies": {
|
|
"electron-updater": "^6.6.2"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.9.1",
|
|
"electron": "^42.3.3",
|
|
"electron-builder": "^26.8.1",
|
|
"playwright": "^1.60.0",
|
|
"typescript": "^6.0.3"
|
|
},
|
|
"build": {
|
|
"appId": "ai.opensquilla.desktop",
|
|
"productName": "OpenSquilla",
|
|
"artifactName": "OpenSquilla-${version}-${os}-${arch}.${ext}",
|
|
"publish": [
|
|
{
|
|
"provider": "github",
|
|
"owner": "opensquilla",
|
|
"repo": "opensquilla"
|
|
}
|
|
],
|
|
"directories": {
|
|
"output": "../../dist/desktop-electron"
|
|
},
|
|
"files": [
|
|
"dist/**",
|
|
"assets/**",
|
|
"package.json"
|
|
],
|
|
"extraResources": [
|
|
{
|
|
"from": "src/boot.html",
|
|
"to": "boot.html"
|
|
},
|
|
{
|
|
"from": "runtime",
|
|
"to": "runtime",
|
|
"filter": [
|
|
"**/*"
|
|
]
|
|
}
|
|
],
|
|
"mac": {
|
|
"category": "public.app-category.developer-tools",
|
|
"icon": "assets/icon.icns",
|
|
"target": [
|
|
"dmg",
|
|
"zip"
|
|
]
|
|
},
|
|
"dmg": {
|
|
"icon": "assets/icon.icns",
|
|
"backgroundColor": "#ffffff",
|
|
"iconSize": 92,
|
|
"window": {
|
|
"width": 540,
|
|
"height": 380
|
|
},
|
|
"contents": [
|
|
{
|
|
"x": 170,
|
|
"y": 205,
|
|
"type": "file"
|
|
},
|
|
{
|
|
"x": 370,
|
|
"y": 205,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
}
|
|
]
|
|
},
|
|
"win": {
|
|
"icon": "assets/icon.ico",
|
|
"target": [
|
|
"nsis"
|
|
]
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"perMachine": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"deleteAppDataOnUninstall": false,
|
|
"installerIcon": "assets/icon.ico",
|
|
"uninstallerIcon": "assets/icon.ico"
|
|
}
|
|
}
|
|
}
|