OverviewFilesCommitsIssuesDocsReleasesPeers

favela-surface / package.json

70 lines · json ref:
{
  "name": "favela-surface",
  "version": "0.0.69",
  "description": "The favela renderer \u2014 server-side HTML over the daemon's socket. No storage, no keys, no swarm.",
  "type": "module",
  "main": "index.js",
  "bin": {
    "favela-surface": "index.js"
  },
  "scripts": {
    "test": "brittle-bare test/*.test.js"
  },
  "imports": {
    "#node:net": {
      "bare": "bare-net",
      "default": "net"
    },
    "#node:os": {
      "bare": "bare-os",
      "default": "os"
    },
    "#node:path": {
      "bare": "bare-path",
      "default": "path"
    },
    "#node:process": {
      "bare": "bare-process",
      "default": "process"
    },
    "#node:fs": {
      "bare": "bare-fs",
      "default": "fs"
    }
  },
  "dependencies": {
    "favela-markdown": "file:../favela-markdown",
    "bare-http1": "^4.0.7",
    "bare-net": "^2.3.3",
    "bare-os": "^3.9.3",
    "bare-path": "^3.1.2",
    "bare-process": "^4.5.1",
    "bare-fs": "^4.8.1",
    "bare-crypto": "^1.11.1",
    "b4a": "^1.8.1"
  },
  "devDependencies": {
    "brittle": "^4.0.2"
  },
  "pgh": {
    "bin": "favela-surface",
    "entrypoint": "index.js",
    "type": "daemon",
    "runtime": "bare",
    "upgrade": "pgh://1dd36bdfa9cb7f7d84adbd07f017e7200f7f90a3a546cd0761fac2a1f8a13e86/favela-surface",
    "autostart": false,
    "depends": [
      "pgh-sidecar"
    ],
    "defaults": {
      "env": {
        "FAVELA_SURFACE_PORT": "4042",
        "FAVELA_SOCK": "${HOME}/.config/favela-peer/favela.sock"
      }
    },
    "service": {
      "requiresNetwork": false
    }
  }
}