OverviewFilesCommitsIssuesDocsReleasesPeers

mirall-cli / package.json

64 lines · json ref:
{
  "name": "mirall-cli",
  "version": "0.1.5",
  "description": "Headless CLI + daemon for Mirall — secure P2P file transfer, no cloud, no Electron. A standalone bare/pgh port of Mirall's data layer.",
  "license": "AGPL-3.0-or-later",
  "author": "plankatron",
  "contributors": [
    "Oliver Kohl <https://github.com/ok> (Mirall — https://mirall.app)"
  ],
  "homepage": "https://mirall.app",
  "type": "commonjs",
  "main": "bin/mirall.js",
  "bin": { "mirall": "./bin/mirall.js" },
  "pgh": {
    "bin": "mirall",
    "entrypoint": "bin/mirall.js",
    "upgrade": "pgh://1dd36bdfa9cb7f7d84adbd07f017e7200f7f90a3a546cd0761fac2a1f8a13e86/mirall-cli",
    "runtime": "bare",
    "type": "daemon",
    "autostart": true,
    "depends": [],
    "defaults": { "args": ["daemon", "--web", "4188"] },
    "readiness": { "type": "uds", "path": "${HOME}/.mirall/svc.sock", "timeoutMs": 120000 }
  },
  "scripts": {
    "postinstall": "node -e \"const fs=require('fs');const p='node_modules/.bin/bare';try{if(!fs.existsSync(p))fs.symlinkSync('../bare-runtime/bin/bare',p)}catch{}\"",
    "daemon": "bare bin/mirall.js daemon",
    "e2e": "bare cli/e2e-mirror.js"
  },
  "comments": {
    "vendored": "node_modules is COMMITTED because hyper-svc and its dep bare-abstract-socket are not published to npm. Do NOT run `npm install` — the app ships its full runtime closure (linux-x64 prebuilds only). The engine under src/worker + src/shared is vendored verbatim from Oliver Kohl's Mirall (github.com/ok/mirall-app); re-vendor those two dirs to track upstream."
  },
  "dependencies": {
    "b4a": "^1.8.1",
    "bare-crypto": "^1.15.3",
    "bare-fs": "^4.7.4",
    "bare-https": "^3.0.0",
    "bare-os": "^3.9.3",
    "bare-path": "^3.1.1",
    "bare-runtime": "^1.30.3",
    "bare-sidecar": "^0.5.3",
    "bare-signals": "^5.0.0",
    "bare-subprocess": "^6.1.0",
    "bip39-mnemonic": "^2.5.0",
    "compact-encoding": "^3.3.0",
    "corestore": "^7.11.0",
    "debounceify": "^1.1.0",
    "hyperbee": "^2.27.3",
    "hypercore": "^11.33.5",
    "hypercore-crypto": "^3.7.0",
    "hyperdht": "^6.32.0",
    "hyperdrive": "13.3.3",
    "hyperswarm": "^4.17.0",
    "keet-identity-key": "^3.2.0",
    "paparam": "^1.10.1",
    "protomux": "^3.0.0",
    "ready-resource": "^1.2.0",
    "sodium-hmac": "^2.1.0",
    "sodium-native": "^5.1.0",
    "sodium-universal": "^5.0.1",
    "which-runtime": "^1.4.0"
  }
}