OverviewFilesCommitsIssuesDocsReleasesPeers

favela-node / package.json

53 lines · json ref:
{
  "name": "favela-node",
  "version": "0.1.6",
  "description": "favela-node \u2014 the full-node that composes a community's CO-OWNED atproto DID (hyper-proto-peer / atproto-room: StateBase admins + Lease + Signer/LabelRoom = the multiswarm-PDS pattern) with the keyless CommunityRoom roster (favela-community) and, later, the favela-web lens-export gateway. See favela-web/spec/lens-export.md.",
  "type": "module",
  "main": "index.js",
  "scripts": {
    "test": "bare test/publish.test.mjs && bare test/community.test.mjs && bare test/recover.test.mjs"
  },
  "dependencies": {
    "atproto-identity": "file:../atproto-identity",
    "atproto-room": "file:../atproto-room",
    "b4a": "^1.8.1",
    "bare-path": "^3.0.0",
    "bare-process": "^4.0.0",
    "bip39-mnemonic": "^2.5.0",
    "corestore": "^7.4.0",
    "favela-community": "file:../favela-community",
    "hypercore-crypto": "^3.4.0",
    "hyperswarm": "^4.11.0"
  },
  "devDependencies": {
    "@hyperswarm/testnet": "^3.1.4"
  },
  "pgh": {
    "bin": "favela-node",
    "entrypoint": "serve.js",
    "type": "daemon",
    "runtime": "bare",
    "autostart": true,
    "depends": [
      "pgh-sidecar"
    ],
    "readiness": {
      "type": "pidfile",
      "timeoutMs": 30000
    },
    "service": {
      "requiresNetwork": true
    },
    "systemd": {
      "user": true,
      "enable": true,
      "restart": "on-failure"
    },
    "defaults": {
      "env": {
        "FAVELA_NODE_CONFIG": "${HOME}/.config/favela-node/config.json"
      }
    }
  }
}