Files
backspace/packages/desktop/package.json
T
Jannis Braun ff67a792b9 chore(desktop): drop dead cp/gen-icns.sh from dev and prebuild
build/icon.png and build/icon.icns are now committed pre-rendered
artefacts produced by scripts/gen-icons.mjs. The cp lines that seeded
gen-icns.sh and the gen-icns.sh invocation itself are no longer needed.
Preserves the macOS dock-icon override (cp into electron.icns) — that
is independent of how the icns is generated.
2026-04-27 14:36:35 +02:00

34 lines
1.1 KiB
JSON

{
"name": "@backspace/desktop",
"version": "1.0.0",
"private": true,
"description": "Backspace — a self-hosted, open-source chat platform",
"author": {
"name": "youruser",
"email": "backspace@backspace.chat"
},
"homepage": "https://github.com/TheZwiss/backspace",
"main": "dist/main.js",
"scripts": {
"build:ts": "tsc",
"dev": "cp build/icon.icns $(find ../../node_modules -path '*/electron/dist/Electron.app/Contents/Resources/electron.icns' 2>/dev/null | head -1) 2>/dev/null; tsc && electron .",
"build": "tsc && electron-builder",
"build:all": "tsc && electron-builder --mac --win --linux --arm64 --x64",
"clean": "rm -rf dist dist-electron",
"test": "vitest run",
"test:watch": "vitest",
"postinstall": "electron-rebuild -f -w uiohook-napi"
},
"dependencies": {
"electron-updater": "^6.3.0",
"uiohook-napi": "^1.5.5"
},
"devDependencies": {
"@electron/rebuild": "^3.7.1",
"electron": "^40.0.0",
"electron-builder": "^25.1.8",
"typescript": "^5.7.2",
"vitest": "^4.0.18"
}
}