OverviewFilesCommitsIssuesDocsReleasesPeers

pear-git-v3 / package.json

201 lines · json ref:
{
  "name": "pear-git-v3",
  "version": "0.1.254",
  "description": "P2P git forge \u2014 multi-writer issue/org/release/peer-mirror daemon. Built bottom-up after the failed v2.",
  "type": "module",
  "main": "index.js",
  "scripts": {
    "test": "brittle test/*.test.js",
    "test:bare": "bare ./node_modules/.bin/brittle test/*.test.js",
    "start": "node server.js",
    "start:bare": "bare server.js",
    "postinstall": "node scripts/patch-autobase-warmup.cjs"
  },
  "engines": {
    "node": ">=18",
    "bare": ">=1.0"
  },
  "imports": {
    "#node:fs": {
      "bare": "bare-fs",
      "default": "fs"
    },
    "#node:fs/promises": {
      "bare": "bare-fs/promises",
      "default": "fs/promises"
    },
    "#node:path": {
      "bare": "bare-path",
      "default": "path"
    },
    "#node:os": {
      "bare": "bare-os",
      "default": "os"
    },
    "#node:url": {
      "bare": "bare-url",
      "default": "url"
    },
    "#node:events": {
      "bare": "bare-events",
      "default": "events"
    },
    "#node:stream": {
      "bare": "bare-stream",
      "default": "stream"
    },
    "#node:zlib": {
      "bare": "bare-zlib",
      "default": "zlib"
    },
    "#node:child_process": {
      "bare": "bare-subprocess",
      "default": "child_process"
    },
    "#node:net": {
      "bare": "bare-net",
      "default": "net"
    },
    "#node:http": {
      "bare": "bare-http1",
      "default": "http"
    },
    "#node:https": {
      "bare": "bare-https",
      "default": "https"
    },
    "#node:crypto": {
      "bare": "bare-crypto",
      "default": "crypto"
    },
    "#node:process": {
      "bare": "bare-process",
      "default": "process"
    },
    "#node:stream/promises": {
      "bare": "bare-stream/promises",
      "default": "stream/promises"
    },
    "#node:buffer": {
      "bare": "bare-buffer",
      "default": "buffer"
    }
  },
  "pear": {
    "stage": {
      "ignore": [
        "test/",
        "examples/",
        "*.md",
        "docs/",
        ".pear-git/"
      ]
    }
  },
  "pgh": {
    "bin": "pear-git-v3",
    "entrypoint": "server.js",
    "upgrade": "pgh://1dd36bdfa9cb7f7d84adbd07f017e7200f7f90a3a546cd0761fac2a1f8a13e86/pear-git-v3",
    "type": "daemon",
    "runtime": "bare",
    "autostart": true,
    "depends": [
      "pgh-sidecar"
    ],
    "defaults": {
      "args": [
        "serve",
        "5005",
        "--network",
        "--prefix=/git",
        "--external-url=https://7rnx.net/git"
      ],
      "env": {
        "PGV3_USE_RAW_IDENTITY": "1"
      }
    },
    "readiness": {
      "type": "uds",
      "path": "${HOME}/pgv3-storage/svc.sock",
      "timeoutMs": 30000
    },
    "service": {
      "port": 5005,
      "prefix": "/git",
      "host": "127.0.0.1",
      "requiresNetwork": true
    },
    "systemd": {
      "user": true,
      "enable": true,
      "restart": "on-failure"
    },
    "stage": {
      "ignore": [
        "test/",
        "examples/",
        "docs/",
        ".pear-git/",
        "dist/",
        "bench/",
        "scripts/"
      ]
    }
  },
  "dependencies": {
    "anproto": "file:../anproto",
    "b4a": "^1.6.0",
    "bare-buffer": "^3.0.0",
    "bare-crypto": "^1.0.0",
    "bare-events": "^2.0.0",
    "bare-fs": "^4.0.0",
    "bare-http1": "^4.0.0",
    "bare-https": "^2.0.0",
    "bare-net": "^1.0.0",
    "bare-os": "^3.0.0",
    "bare-path": "^3.0.0",
    "bare-process": "^4.0.0",
    "bare-stream": "^2.0.0",
    "bare-subprocess": "^6.0.0",
    "bare-url": "^2.0.0",
    "bare-zlib": "^1.4.1",
    "blind-pairing": "^2.3.1",
    "compact-encoding": "3.0.1",
    "corestore": "^7.0.0",
    "git-remote-punch": "file:../git-remote-punch",
    "hyper-deploy": "file:../hyper-deploy",
    "hyper-identity": "file:../packages/hyper-identity",
    "hyper-issues": "file:../hyper-issues",
    "hyper-orgs": "file:../hyper-orgs",
    "hyper-overlay": "file:../hyper-overlay",
    "hyper-rooms": "file:../hyper-rooms",
    "hyper-svc": "file:../hyper-svc",
    "hyper-sync": "file:../hyper-sync",
    "hyper-vdrive": "file:../hyper-vdrive",
    "hyperbee": "^2.27.3",
    "hypercore": "^11.32.0",
    "hypercore-crypto": "^3.0.0",
    "hyperident": "file:../repos/hyperident",
    "hyperswarm": "^4.17.0",
    "js-yaml": "^4.1.1",
    "keet-identity-key": "^3.1.0",
    "pgh": "file:../pgh",
    "pgh-runtime": "file:../pgh-runtime",
    "pgh-sidecar": "file:../pgh-sidecar"
  },
  "devDependencies": {
    "@hyperswarm/testnet": "^3.0.0",
    "autobase": "7.28.1",
    "autobase-test-helpers": "^3.1.0",
    "brittle": "^3.0.0",
    "random-access-memory": "^6.2.1"
  },
  "overrides": {
    "autobase": "7.28.1",
    "hyperschema": "1.21.0",
    "compact-encoding": "3.0.1",
    "hypercore": "11.33.2",
    "hypercore-storage": "3.1.1"
  }
}