pithos/package.json
Local Dev cd4f24777d Pithos desktop: no electron-builder publishing
On a CI runner electron-builder assumes a GitHub release and writes
auto-update files for it; with no repository it then crashed after the
Linux packages were built. Pithos ships through its own channels
(dl.silentmode.st and the release manifest), so publishing is off.
2026-10-05 03:58:25 +02:00

113 lines
2.8 KiB
JSON

{
"name": "pithos",
"version": "0.3.19",
"description": "A control panel for s3d, the Sia S3 gateway: daemon, users and keys, buckets, upload pipeline.",
"license": "MPL-2.0",
"type": "module",
"main": "core/server.js",
"bin": {
"pithos-web": "bin/pithos-web.js"
},
"scripts": {
"web": "node bin/pithos-web.js",
"desktop": "electron desktop/main.cjs",
"test": "node --test test/*.test.js",
"icons": "electron scripts/make-icons.cjs",
"dist:win": "electron-builder --win nsis portable",
"dist:linux": "electron-builder --linux AppImage tar.gz",
"dist:mac": "electron-builder --mac dmg zip"
},
"engines": {
"node": ">=20"
},
"dependencies": {
"yaml": "^2.9.1"
},
"optionalDependencies": {
"@lydell/node-pty": "1.2.0-beta.15"
},
"devDependencies": {
"electron": "^44.5.1",
"electron-builder": "^25.1.8"
},
"author": {
"name": "Silent Mode",
"email": "hephaestus@silentmode.st"
},
"homepage": "https://silentmode.st/pithos/",
"build": {
"appId": "st.silentmode.pithos",
"productName": "Pithos",
"artifactName": "Pithos-${version}-${arch}.${ext}",
"extraMetadata": {
"main": "desktop/main.cjs"
},
"directories": {
"output": "dist/desktop",
"buildResources": "desktop/icons"
},
"asar": true,
"asarUnpack": [
"node_modules/@lydell/**"
],
"npmRebuild": false,
"files": [
"core/**/*",
"ui/**/*",
"desktop/**/*",
"LICENSE",
"package.json",
"node_modules/**/*",
"!**/*.md",
"!**/*.map",
"!**/*.d.ts"
],
"win": {
"icon": "desktop/icons/icon.ico",
"target": [
"nsis",
"portable"
]
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"installerIcon": "desktop/icons/icon.ico",
"uninstallerIcon": "desktop/icons/icon.ico",
"installerHeaderIcon": "desktop/icons/icon.ico",
"shortcutName": "Pithos",
"artifactName": "Pithos-Setup-${version}.${ext}"
},
"portable": {
"artifactName": "Pithos-${version}-portable.${ext}"
},
"linux": {
"icon": "desktop/icons/icon.png",
"category": "Utility",
"synopsis": "Decentralized cloud storage you own, on Sia",
"executableName": "pithos",
"maintainer": "Silent Mode <hephaestus@silentmode.st>",
"target": [
"AppImage",
"deb",
"tar.gz"
]
},
"mac": {
"icon": "desktop/icons/icon.png",
"category": "public.app-category.utilities",
"target": [
"dmg",
"zip"
],
"identity": "-",
"hardenedRuntime": false,
"gatekeeperAssess": false
},
"dmg": {
"title": "Pithos ${version}"
},
"publish": null
}
}