539 lines
13 KiB
JSON
539 lines
13 KiB
JSON
{
|
|
"name": "peardata",
|
|
"version": "0.1.0",
|
|
"description": "Decentralized P2P real-time monitoring — PearMonitor agent + Pear desktop + REST v3",
|
|
"type": "module",
|
|
"license": "AGPL-3.0-only",
|
|
"main": "index.js",
|
|
"productName": "PearData",
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"pear": {
|
|
"pre": "pear-electron/pre",
|
|
"name": "peardata",
|
|
"gui": {
|
|
"main": "index.html",
|
|
"backgroundColor": "#0a0c10",
|
|
"height": 860,
|
|
"width": 1280,
|
|
"minWidth": 900,
|
|
"minHeight": 560,
|
|
"resizable": true,
|
|
"movable": true,
|
|
"minimizable": true,
|
|
"maximizable": true,
|
|
"closable": true,
|
|
"hasShadow": true
|
|
},
|
|
"links": [
|
|
"http://*",
|
|
"https://*",
|
|
"ws://*",
|
|
"wss://*"
|
|
],
|
|
"stage": {
|
|
"entrypoints": [
|
|
"/qvac/worker.pear.entry.mjs"
|
|
]
|
|
}
|
|
},
|
|
"scripts": {
|
|
"dev": "pear run -d .",
|
|
"start": "pear run -d .",
|
|
"start:server": "node bin/peardata-server.mjs",
|
|
"server": "node bin/peardata-server.mjs",
|
|
"start:server:bin": "node bin/peardata-server.mjs",
|
|
"test": "brittle-node test/*.test.js",
|
|
"test:integration": "brittle-node test/integration.test.js",
|
|
"healthcheck": "node scripts/healthcheck.js",
|
|
"soak": "node scripts/soak.js",
|
|
"mint-invite": "node scripts/mint-invite.js",
|
|
"build:db": "node scripts/build-db.js",
|
|
"build:native": "node scripts/build-native-helpers.cjs",
|
|
"rename": "bash scripts/rename-template.sh",
|
|
"release:notes": "node -e \"console.log('See docs/RELEASE.md')\"",
|
|
"build:client-bundle": "node scripts/build-client-bundle.cjs",
|
|
"build:qvac-worker": "node scripts/build-qvac-worker.cjs",
|
|
"ensure:qvac-bare-runtimes": "node scripts/ensure-qvac-bare-runtimes.cjs --all",
|
|
"start:client": "npm run build:client-bundle && electron electron/main.cjs",
|
|
"package:client": "electron-forge package",
|
|
"make": "node scripts/make.cjs both",
|
|
"make:server": "node scripts/make.cjs server",
|
|
"make:client": "node scripts/make.cjs client",
|
|
"make:all": "node scripts/make.cjs all",
|
|
"make:bin": "node scripts/bare-standalone.cjs",
|
|
"make:server:linux-x64": "node scripts/bare-standalone.cjs --product server --host linux-x64",
|
|
"make:server:linux-arm64": "node scripts/bare-standalone.cjs --product server --host linux-arm64",
|
|
"make:client:linux-x64": "electron-forge package --platform linux --arch x64",
|
|
"make:client:linux-arm64": "electron-forge package --platform linux --arch arm64",
|
|
"make:client:darwin-arm64": "electron-forge package --platform darwin --arch arm64",
|
|
"make:client:darwin-x64": "electron-forge package --platform darwin --arch x64",
|
|
"make:client:win32-x64": "electron-forge package --platform win32 --arch x64",
|
|
"make:client:win32-arm64": "electron-forge package --platform win32 --arch arm64",
|
|
"sign:macos": "node scripts/sign-macos-app.cjs",
|
|
"release:rolling": "bash scripts/gitea-rolling-release.sh",
|
|
"install:help": "bash scripts/install.sh --help"
|
|
},
|
|
"dependencies": {
|
|
"@qvac/sdk": "^0.16.0",
|
|
"b4a": "^1.8.1",
|
|
"bare-assert": "^1.1.0",
|
|
"bare-buffer": "^3.3.1",
|
|
"bare-bundle-id": "^1.0.0",
|
|
"bare-console": "^6.0.1",
|
|
"bare-crypto": "^1.15.3",
|
|
"bare-dgram": "^1.0.1",
|
|
"bare-dns": "^2.1.4",
|
|
"bare-events": "^2.9.1",
|
|
"bare-fs": "^4.7.4",
|
|
"bare-http1": "^4.5.7",
|
|
"bare-https": "^3.0.0",
|
|
"bare-module": "^6.1.2",
|
|
"bare-module-traverse": "^1.0.0",
|
|
"bare-net": "^2.3.2",
|
|
"bare-node-runtime": "^1.5.0",
|
|
"bare-os": "^3.9.3",
|
|
"bare-pack": "^1.0.0",
|
|
"bare-path": "^3.1.1",
|
|
"bare-performance": "^2.0.0",
|
|
"bare-process": "^4.5.1",
|
|
"bare-querystring": "^1.0.0",
|
|
"bare-runtime": "^1.30.3",
|
|
"bare-stream": "^2.7.0",
|
|
"bare-string-decoder": "^1.0.0",
|
|
"bare-subprocess": "^5.2.3",
|
|
"bare-timers": "^3.0.0",
|
|
"bare-tls": "^3.0.0",
|
|
"bare-tty": "^5.0.0",
|
|
"bare-url": "^2.4.5",
|
|
"bare-utils": "^1.5.1",
|
|
"bare-worker": "^4.0.0",
|
|
"bare-zlib": "^1.3.1",
|
|
"compact-encoding": "^3.3.0",
|
|
"corestore": "^7.11.1",
|
|
"dotenv": "^17.4.2",
|
|
"graceful-goodbye": "^1.3.3",
|
|
"hypercore-crypto": "^3.7.0",
|
|
"hypercore-id-encoding": "^1.3.0",
|
|
"hyperdb": "^6.7.0",
|
|
"hyperdht": "^6.33.0",
|
|
"hyperschema": "^1.21.0",
|
|
"hyperswarm": "^4.17.0",
|
|
"pear-bridge": "^1.2.5",
|
|
"pear-electron": "^1.7.28",
|
|
"pear-pipe": "^1.0.6",
|
|
"pear-run": "^1.0.8",
|
|
"protomux": "^3.11.0",
|
|
"protomux-rpc": "^1.10.0",
|
|
"ready-resource": "^1.2.0",
|
|
"safety-catch": "^1.0.3",
|
|
"which-runtime": "^1.4.0",
|
|
"z32": "^1.1.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"bare-runtime-darwin-arm64": "^1.30.3",
|
|
"bare-runtime-darwin-x64": "1.30.3",
|
|
"bare-runtime-linux-arm64": "1.30.3",
|
|
"bare-runtime-linux-x64": "1.30.3",
|
|
"bare-runtime-win32-x64": "1.30.3"
|
|
},
|
|
"devDependencies": {
|
|
"@electron-forge/cli": "^7.11.2",
|
|
"@electron-forge/maker-zip": "^7.11.2",
|
|
"@electron-forge/plugin-base": "^7.11.2",
|
|
"@electron/get": "^3.1.0",
|
|
"bare-build": "^1.0.2",
|
|
"brittle": "^4.1.0",
|
|
"electron": "^33.4.11",
|
|
"esbuild": "^0.25.0",
|
|
"pear-interface": "^1.1.0"
|
|
},
|
|
"imports": {
|
|
"assert": {
|
|
"bare": "bare-assert",
|
|
"default": "assert"
|
|
},
|
|
"node:assert": {
|
|
"bare": "bare-assert",
|
|
"default": "assert"
|
|
},
|
|
"assert/strict": {
|
|
"bare": "bare-assert/strict",
|
|
"default": "assert/strict"
|
|
},
|
|
"node:assert/strict": {
|
|
"bare": "bare-assert/strict",
|
|
"default": "assert/strict"
|
|
},
|
|
"buffer": {
|
|
"bare": "bare-buffer",
|
|
"default": "buffer"
|
|
},
|
|
"node:buffer": {
|
|
"bare": "bare-buffer",
|
|
"default": "buffer"
|
|
},
|
|
"child_process": {
|
|
"bare": "bare-subprocess",
|
|
"default": "child_process"
|
|
},
|
|
"node:child_process": {
|
|
"bare": "bare-subprocess",
|
|
"default": "child_process"
|
|
},
|
|
"console": {
|
|
"bare": "bare-console",
|
|
"default": "console"
|
|
},
|
|
"node:console": {
|
|
"bare": "bare-console",
|
|
"default": "console"
|
|
},
|
|
"crypto": {
|
|
"bare": "bare-crypto",
|
|
"default": "crypto"
|
|
},
|
|
"node:crypto": {
|
|
"bare": "bare-crypto",
|
|
"default": "crypto"
|
|
},
|
|
"dgram": {
|
|
"bare": "bare-dgram",
|
|
"default": "dgram"
|
|
},
|
|
"node:dgram": {
|
|
"bare": "bare-dgram",
|
|
"default": "dgram"
|
|
},
|
|
"dns": {
|
|
"bare": "bare-dns",
|
|
"default": "dns"
|
|
},
|
|
"node:dns": {
|
|
"bare": "bare-dns",
|
|
"default": "dns"
|
|
},
|
|
"dns/promises": {
|
|
"bare": "bare-dns/promises",
|
|
"default": "dns/promises"
|
|
},
|
|
"node:dns/promises": {
|
|
"bare": "bare-dns/promises",
|
|
"default": "dns/promises"
|
|
},
|
|
"events": {
|
|
"bare": "bare-events",
|
|
"default": "events"
|
|
},
|
|
"node:events": {
|
|
"bare": "bare-events",
|
|
"default": "events"
|
|
},
|
|
"fs": {
|
|
"bare": "bare-fs",
|
|
"default": "fs"
|
|
},
|
|
"node:fs": {
|
|
"bare": "bare-fs",
|
|
"default": "fs"
|
|
},
|
|
"fs/promises": {
|
|
"bare": "bare-fs/promises",
|
|
"default": "fs/promises"
|
|
},
|
|
"node:fs/promises": {
|
|
"bare": "bare-fs/promises",
|
|
"default": "fs/promises"
|
|
},
|
|
"http": {
|
|
"bare": "bare-http1",
|
|
"default": "http"
|
|
},
|
|
"node:http": {
|
|
"bare": "bare-http1",
|
|
"default": "http"
|
|
},
|
|
"https": {
|
|
"bare": "bare-https",
|
|
"default": "https"
|
|
},
|
|
"node:https": {
|
|
"bare": "bare-https",
|
|
"default": "https"
|
|
},
|
|
"module": {
|
|
"bare": "bare-module",
|
|
"default": "module"
|
|
},
|
|
"node:module": {
|
|
"bare": "bare-module",
|
|
"default": "module"
|
|
},
|
|
"net": {
|
|
"bare": "bare-net",
|
|
"default": "net"
|
|
},
|
|
"node:net": {
|
|
"bare": "bare-net",
|
|
"default": "net"
|
|
},
|
|
"os": {
|
|
"bare": "bare-os",
|
|
"default": "os"
|
|
},
|
|
"node:os": {
|
|
"bare": "bare-os",
|
|
"default": "os"
|
|
},
|
|
"path": {
|
|
"bare": "bare-path",
|
|
"default": "path"
|
|
},
|
|
"node:path": {
|
|
"bare": "bare-path",
|
|
"default": "path"
|
|
},
|
|
"path/posix": {
|
|
"bare": "bare-path/posix",
|
|
"default": "path/posix"
|
|
},
|
|
"node:path/posix": {
|
|
"bare": "bare-path/posix",
|
|
"default": "path/posix"
|
|
},
|
|
"path/win32": {
|
|
"bare": "bare-path/win32",
|
|
"default": "path/win32"
|
|
},
|
|
"node:path/win32": {
|
|
"bare": "bare-path/win32",
|
|
"default": "path/win32"
|
|
},
|
|
"perf_hooks": {
|
|
"bare": "bare-performance",
|
|
"default": "perf_hooks"
|
|
},
|
|
"node:perf_hooks": {
|
|
"bare": "bare-performance",
|
|
"default": "perf_hooks"
|
|
},
|
|
"process": {
|
|
"bare": "bare-process",
|
|
"default": "process"
|
|
},
|
|
"node:process": {
|
|
"bare": "bare-process",
|
|
"default": "process"
|
|
},
|
|
"querystring": {
|
|
"bare": "bare-querystring",
|
|
"default": "querystring"
|
|
},
|
|
"node:querystring": {
|
|
"bare": "bare-querystring",
|
|
"default": "querystring"
|
|
},
|
|
"stream": {
|
|
"bare": "bare-stream",
|
|
"default": "stream"
|
|
},
|
|
"node:stream": {
|
|
"bare": "bare-stream",
|
|
"default": "stream"
|
|
},
|
|
"stream/consumers": {
|
|
"bare": "bare-stream/consumers",
|
|
"default": "stream/consumers"
|
|
},
|
|
"node:stream/consumers": {
|
|
"bare": "bare-stream/consumers",
|
|
"default": "stream/consumers"
|
|
},
|
|
"stream/promises": {
|
|
"bare": "bare-stream/promises",
|
|
"default": "stream/promises"
|
|
},
|
|
"node:stream/promises": {
|
|
"bare": "bare-stream/promises",
|
|
"default": "stream/promises"
|
|
},
|
|
"stream/web": {
|
|
"bare": "bare-stream/web",
|
|
"default": "stream/web"
|
|
},
|
|
"node:stream/web": {
|
|
"bare": "bare-stream/web",
|
|
"default": "stream/web"
|
|
},
|
|
"string_decoder": {
|
|
"bare": "bare-string-decoder",
|
|
"default": "string_decoder"
|
|
},
|
|
"node:string_decoder": {
|
|
"bare": "bare-string-decoder",
|
|
"default": "string_decoder"
|
|
},
|
|
"timers": {
|
|
"bare": "bare-timers",
|
|
"default": "timers"
|
|
},
|
|
"node:timers": {
|
|
"bare": "bare-timers",
|
|
"default": "timers"
|
|
},
|
|
"timers/promises": {
|
|
"bare": "bare-timers/promises",
|
|
"default": "timers/promises"
|
|
},
|
|
"node:timers/promises": {
|
|
"bare": "bare-timers/promises",
|
|
"default": "timers/promises"
|
|
},
|
|
"tls": {
|
|
"bare": "bare-tls",
|
|
"default": "tls"
|
|
},
|
|
"node:tls": {
|
|
"bare": "bare-tls",
|
|
"default": "tls"
|
|
},
|
|
"tty": {
|
|
"bare": "bare-tty",
|
|
"default": "tty"
|
|
},
|
|
"node:tty": {
|
|
"bare": "bare-tty",
|
|
"default": "tty"
|
|
},
|
|
"url": {
|
|
"bare": "bare-url",
|
|
"default": "url"
|
|
},
|
|
"node:url": {
|
|
"bare": "bare-url",
|
|
"default": "url"
|
|
},
|
|
"util": {
|
|
"bare": "bare-utils",
|
|
"default": "util"
|
|
},
|
|
"node:util": {
|
|
"bare": "bare-utils",
|
|
"default": "util"
|
|
},
|
|
"util/types": {
|
|
"bare": "bare-utils/types",
|
|
"default": "util/types"
|
|
},
|
|
"node:util/types": {
|
|
"bare": "bare-utils/types",
|
|
"default": "util/types"
|
|
},
|
|
"worker_threads": {
|
|
"bare": "bare-worker",
|
|
"default": "worker_threads"
|
|
},
|
|
"node:worker_threads": {
|
|
"bare": "bare-worker",
|
|
"default": "worker_threads"
|
|
},
|
|
"zlib": {
|
|
"bare": "bare-zlib",
|
|
"default": "zlib"
|
|
},
|
|
"node:zlib": {
|
|
"bare": "bare-zlib",
|
|
"default": "zlib"
|
|
},
|
|
"cluster": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "cluster"
|
|
},
|
|
"node:cluster": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "cluster"
|
|
},
|
|
"constants": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "constants"
|
|
},
|
|
"node:constants": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "constants"
|
|
},
|
|
"domain": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "domain"
|
|
},
|
|
"node:domain": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "domain"
|
|
},
|
|
"http2": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "http2"
|
|
},
|
|
"node:http2": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "http2"
|
|
},
|
|
"sea": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "sea"
|
|
},
|
|
"node:sea": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "sea"
|
|
},
|
|
"sys": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "sys"
|
|
},
|
|
"node:sys": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "sys"
|
|
},
|
|
"test": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "test"
|
|
},
|
|
"node:test": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "test"
|
|
},
|
|
"test/reporters": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "test/reporters"
|
|
},
|
|
"node:test/reporters": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "test/reporters"
|
|
},
|
|
"trace_events": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "trace_events"
|
|
},
|
|
"node:trace_events": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "trace_events"
|
|
},
|
|
"wasi": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "wasi"
|
|
},
|
|
"node:wasi": {
|
|
"bare": "bare-node-runtime/unsupported",
|
|
"default": "wasi"
|
|
},
|
|
"fs/*": {
|
|
"bare": "bare-fs/*",
|
|
"default": "fs/*"
|
|
},
|
|
"node:fs/*": {
|
|
"bare": "bare-fs/*",
|
|
"default": "fs/*"
|
|
}
|
|
}
|
|
}
|