270 lines
8.5 KiB
JSON
270 lines
8.5 KiB
JSON
{
|
|
"name": "flying-jib",
|
|
"productName": "Flying Jib",
|
|
"version": "0.1.0",
|
|
"description": "Fully decentralized peer-to-peer Minecraft mesh (Bare/Pear + Paper/OpenJS default + optional Flying Squid — no app-level Node.js)",
|
|
"license": "Apache-2.0",
|
|
"private": true,
|
|
"main": "index.mjs",
|
|
"bin": "bin.mjs",
|
|
"upgrade": "pear://<YOUR_KEY_HERE>",
|
|
"scripts": {
|
|
"postinstall": "node scripts/patch-engines-for-bare.js && node scripts/patch-flying-squid-plugins.js && node scripts/patch-flying-squid-log.js && node scripts/patch-flying-squid-login.js && node scripts/generate-squid-imports.js",
|
|
"dev": "env -u ELECTRON_RUN_AS_NODE electron electron/main.cjs",
|
|
"start": "env -u ELECTRON_RUN_AS_NODE electron electron/main.cjs",
|
|
"start:pear": "pear run -d .",
|
|
"start:cli": "node_modules/bare-runtime/bin/bare bin.mjs",
|
|
"start:node": "node bin.mjs",
|
|
"test": "brittle-node test/*.test.js",
|
|
"test:bare": "brittle-bare test/*.test.js",
|
|
"docs:check": "node -e \"const fs=require('fs');const paths=['living_docs/ROADMAP.md','living_docs/CURRENT_STATUS.md','agent/RULES.md','agent/SECURITY.md','developer_docs/ARCHITECTURE.md','developer_docs/PAPER_ENGINE.md','user_docs/README.md','lib/squid-manager.js','lib/paper-manager.js','bin.mjs','index.mjs','index.html'];for (const p of paths){if(!fs.existsSync(p)){console.error('missing',p);process.exit(1)}};console.log('docs+app scaffold ok')\"",
|
|
"agpl:offer": "node scripts/agpl-source-offer.js",
|
|
"pear:check": "node scripts/pear-ota-check.js --allow-placeholder",
|
|
"pear:check:strict": "node scripts/pear-ota-check.js",
|
|
"license:check": "node scripts/license-check.js",
|
|
"size:report": "node scripts/binary-size-report.js",
|
|
"mcdata:prune": "node scripts/prune-minecraft-data.js",
|
|
"mcdata:restore": "node scripts/prune-minecraft-data.js --restore",
|
|
"make": "node scripts/make.js",
|
|
"make:standalone": "node scripts/bare-standalone.cjs",
|
|
"make:standalone:all": "node scripts/bare-standalone.cjs --host all",
|
|
"package:client": "env -u ELECTRON_RUN_AS_NODE electron-forge package",
|
|
"make:client": "env -u ELECTRON_RUN_AS_NODE electron-forge make",
|
|
"make:client:darwin-arm64": "env -u ELECTRON_RUN_AS_NODE FJ_PACKAGE_PLATFORM=darwin FJ_PACKAGE_ARCH=arm64 electron-forge make --platform darwin --arch arm64",
|
|
"make:client:darwin-x64": "env -u ELECTRON_RUN_AS_NODE FJ_PACKAGE_PLATFORM=darwin FJ_PACKAGE_ARCH=x64 electron-forge make --platform darwin --arch x64",
|
|
"make:client:linux-x64": "env -u ELECTRON_RUN_AS_NODE FJ_PACKAGE_PLATFORM=linux FJ_PACKAGE_ARCH=x64 electron-forge make --platform linux --arch x64",
|
|
"make:client:linux-arm64": "env -u ELECTRON_RUN_AS_NODE FJ_PACKAGE_PLATFORM=linux FJ_PACKAGE_ARCH=arm64 electron-forge make --platform linux --arch arm64",
|
|
"make:client:win32-x64": "env -u ELECTRON_RUN_AS_NODE FJ_PACKAGE_PLATFORM=win32 FJ_PACKAGE_ARCH=x64 electron-forge make --platform win32 --arch x64",
|
|
"make:darwin-arm64": "bare-build --name flying-jib --standalone --host darwin-arm64 --out ./out/darwin-arm64 bin.mjs",
|
|
"make:darwin-x64": "bare-build --name flying-jib --standalone --host darwin-x64 --out ./out/darwin-x64 bin.mjs",
|
|
"make:linux-arm64": "bare-build --name flying-jib --standalone --host linux-arm64 --out ./out/linux-arm64 bin.mjs",
|
|
"make:linux-x64": "bare-build --name flying-jib --standalone --host linux-x64 --out ./out/linux-x64 bin.mjs",
|
|
"make:win32-arm64": "bare-build --name flying-jib --standalone --host win32-arm64 --out ./out/win32-arm64 bin.mjs",
|
|
"make:win32-x64": "bare-build --name flying-jib --standalone --host win32-x64 --out ./out/win32-x64 bin.mjs",
|
|
"release:rolling": "bash scripts/gitea-rolling-release.sh"
|
|
},
|
|
"config": {
|
|
"forge": "./forge.config.cjs"
|
|
},
|
|
"pear": {
|
|
"pre": "pear-electron/pre",
|
|
"name": "flying-jib",
|
|
"gui": {
|
|
"main": "index.html",
|
|
"backgroundColor": "#0c1a22",
|
|
"height": 820,
|
|
"width": 1180
|
|
},
|
|
"links": [
|
|
"http://*",
|
|
"https://*",
|
|
"ws://*",
|
|
"wss://*"
|
|
]
|
|
},
|
|
"imports": {
|
|
"#lib/*": "./lib/*",
|
|
"fs": {
|
|
"bare": "bare-fs",
|
|
"default": "fs"
|
|
},
|
|
"node:fs": {
|
|
"bare": "bare-fs",
|
|
"default": "fs"
|
|
},
|
|
"fs/promises": {
|
|
"bare": "bare-fs/promises",
|
|
"default": "fs/promises"
|
|
},
|
|
"path": {
|
|
"bare": "bare-path",
|
|
"default": "path"
|
|
},
|
|
"node:path": {
|
|
"bare": "bare-path",
|
|
"default": "path"
|
|
},
|
|
"os": {
|
|
"bare": "bare-os",
|
|
"default": "os"
|
|
},
|
|
"process": {
|
|
"bare": "bare-process",
|
|
"default": "process"
|
|
},
|
|
"events": {
|
|
"bare": "./build/shims/node-events.cjs",
|
|
"default": "events"
|
|
},
|
|
"node:events": {
|
|
"bare": "./build/shims/node-events.cjs",
|
|
"default": "events"
|
|
},
|
|
"buffer": {
|
|
"bare": "bare-buffer",
|
|
"default": "buffer"
|
|
},
|
|
"stream": {
|
|
"bare": "bare-stream",
|
|
"default": "stream"
|
|
},
|
|
"net": {
|
|
"bare": "bare-net",
|
|
"default": "net"
|
|
},
|
|
"node:net": {
|
|
"bare": "bare-net",
|
|
"default": "net"
|
|
},
|
|
"crypto": {
|
|
"bare": "./build/shims/node-crypto.cjs",
|
|
"default": "crypto"
|
|
},
|
|
"node:crypto": {
|
|
"bare": "./build/shims/node-crypto.cjs",
|
|
"default": "crypto"
|
|
},
|
|
"constants": {
|
|
"bare": "./build/shims/node-constants.cjs",
|
|
"default": "constants"
|
|
},
|
|
"node:constants": {
|
|
"bare": "./build/shims/node-constants.cjs",
|
|
"default": "constants"
|
|
},
|
|
"util": {
|
|
"bare": "bare-utils",
|
|
"default": "util"
|
|
},
|
|
"url": {
|
|
"bare": "bare-url",
|
|
"default": "url"
|
|
},
|
|
"child_process": {
|
|
"bare": "bare-subprocess",
|
|
"default": "child_process"
|
|
},
|
|
"readline": {
|
|
"bare": "bare-readline",
|
|
"default": "readline"
|
|
},
|
|
"timers": {
|
|
"bare": "bare-timers",
|
|
"default": "timers"
|
|
},
|
|
"string_decoder": {
|
|
"bare": "bare-string-decoder",
|
|
"default": "string_decoder"
|
|
},
|
|
"zlib": {
|
|
"bare": "bare-zlib",
|
|
"default": "zlib"
|
|
},
|
|
"http": {
|
|
"bare": "bare-http1",
|
|
"default": "http"
|
|
},
|
|
"https": {
|
|
"bare": "bare-https",
|
|
"default": "https"
|
|
},
|
|
"dns": {
|
|
"bare": "bare-dns",
|
|
"default": "dns"
|
|
},
|
|
"tty": {
|
|
"bare": "bare-tty",
|
|
"default": "tty"
|
|
},
|
|
"module": {
|
|
"bare": "bare-module",
|
|
"default": "module"
|
|
},
|
|
"assert": {
|
|
"bare": "bare-assert",
|
|
"default": "assert"
|
|
},
|
|
"console": {
|
|
"bare": "bare-console",
|
|
"default": "console"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"autobase": "^7.28.1",
|
|
"b4a": "^1.6.7",
|
|
"bare-assert": "^1.1.0",
|
|
"bare-buffer": "^3.3.1",
|
|
"bare-console": "^6.0.1",
|
|
"bare-crypto": "^1.12.0",
|
|
"bare-dns": "^2.1.4",
|
|
"bare-events": "^2.7.0",
|
|
"bare-fs": "^4.0.0",
|
|
"bare-http1": "^4.0.0",
|
|
"bare-https": "^2.0.0",
|
|
"bare-module": "^6.1.0",
|
|
"bare-net": "^2.0.0",
|
|
"bare-node-runtime": "^1.5.0",
|
|
"bare-os": "^3.9.0",
|
|
"bare-path": "^3.0.0",
|
|
"bare-process": "^4.5.0",
|
|
"bare-readline": "^1.0.0",
|
|
"bare-storage": "^1.1.0",
|
|
"bare-stream": "^2.6.0",
|
|
"bare-string-decoder": "^1.0.0",
|
|
"bare-subprocess": "^5.0.0",
|
|
"bare-timers": "^1.0.0",
|
|
"bare-tty": "^5.0.0",
|
|
"bare-url": "^2.1.0",
|
|
"bare-utils": "^1.0.0",
|
|
"bare-zlib": "^1.3.0",
|
|
"compact-encoding": "^3.3.0",
|
|
"corestore": "^7.9.2",
|
|
"events": "^3.3.0",
|
|
"flying-squid": "^1.12.0",
|
|
"framed-stream": "^1.0.1",
|
|
"graceful-goodbye": "^1.3.3",
|
|
"hyperbee": "^2.27.3",
|
|
"hypercore-crypto": "^3.4.2",
|
|
"hyperdht": "^6.20.0",
|
|
"hyperswarm": "^4.17.0",
|
|
"node-rsa": "^0.4.2",
|
|
"paparam": "^1.10.1",
|
|
"pear-bridge": "^1.2.5",
|
|
"pear-electron": "^1.7.28",
|
|
"pear-runtime": "^1.2.0",
|
|
"protomux": "^3.11.0",
|
|
"ready-resource": "^1.2.0",
|
|
"which-runtime": "^1.4.0",
|
|
"z32": "^1.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@electron-forge/cli": "^7.11.2",
|
|
"@electron-forge/maker-dmg": "^7.11.2",
|
|
"@electron-forge/maker-squirrel": "^7.11.2",
|
|
"@electron-forge/maker-zip": "^7.11.2",
|
|
"bare-build": "^1.0.2",
|
|
"bare-bundle-id": "^1.0.0",
|
|
"bare-module-traverse": "^1.0.0",
|
|
"bare-pack": "^2.2.1",
|
|
"bare-runtime": "1.29.4",
|
|
"brittle": "^3.19.0",
|
|
"electron": "^33.4.11",
|
|
"pear-interface": "^1.1.0",
|
|
"prettier": "^3.6.2",
|
|
"prettier-config-holepunch": "^2.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"keywords": [
|
|
"minecraft",
|
|
"p2p",
|
|
"hyperswarm",
|
|
"hyperdht",
|
|
"pear",
|
|
"bare",
|
|
"flying-squid",
|
|
"mesh"
|
|
]
|
|
}
|