{ "name": "p2pds", "version": "0.1.0", "description": "AT Protocol Personal Data Server with P2P capabilities", "type": "module", "main": "dist/server.js", "scripts": { "dev": "tsx watch src/server.ts", "build": "tsc && node dist/build-ui.js", "build:ui": "node dist/build-ui.js", "start": "node dist/server.js", "typecheck": "tsc --noEmit", "test": "vitest run", "smoke-test": "bash scripts/smoke-test.sh", "start:node1": "bash scripts/start-node.sh 1", "start:node2": "bash scripts/start-node.sh 2", "start:both": "bash scripts/start-both.sh", "stop": "bash scripts/stop-both.sh", "clean": "bash scripts/clean.sh", "logs": "bash scripts/logs.sh", "test:add-did": "bash scripts/test-add-did.sh", "serve": "tsc && node dist/server.js > /tmp/p2pds-node1.log 2>&1 & echo $! > /tmp/p2pds-node1.pid && sleep 2 && cat /tmp/p2pds-node1.log", "check-token": "bash scripts/check-token.sh", "health": "bash -c 'PORT=$(cat /tmp/p2pds-node1.port 2>/dev/null || echo 3000) && curl -s http://localhost:$PORT/xrpc/_health | python3 -m json.tool'", "check-api": "bash scripts/check-api.sh", "open": "bash scripts/open.sh", "restart": "bash scripts/restart.sh" }, "dependencies": { "@atcute/atproto": "^3.1.10", "@atcute/bluesky": "^3.2.14", "@atcute/cbor": "^2.2.8", "@atcute/cid": "^2.3.0", "@atcute/client": "^4.2.0", "@atcute/identity": "^1.1.3", "@atcute/identity-resolver": "^1.2.2", "@atcute/lexicons": "^1.2.6", "@atcute/tid": "^1.1.1", "@atproto/api": "^0.18.21", "@atproto/crypto": "^0.4.5", "@atproto/lex-cbor": "^0.0.3", "@atproto/lex-data": "^0.0.3", "@atproto/lex-json": "^0.0.11", "@atproto/oauth-client-node": "^0.3.16", "@atproto/repo": "^0.8.12", "@hono/node-server": "^1.13.8", "@libp2p/autonat": "^3.0.10", "@libp2p/bootstrap": "^12.0.11", "@libp2p/gossipsub": "^15.0.12", "@libp2p/kad-dht": "^16.1.3", "@libp2p/ping": "^3.0.10", "@preact/signals-core": "^1.13.0", "@scure/bip32": "^2.0.1", "@scure/bip39": "^2.0.1", "bcryptjs": "^3.0.3", "better-sqlite3": "^11.8.1", "blockstore-fs": "^3.0.2", "datastore-fs": "^11.0.2", "helia": "^6.0.20", "hono": "^4.11.3", "jose": "^6.1.3", "lit": "^3.3.2", "picocolors": "^1.1.1", "ws": "^8.18.3" }, "devDependencies": { "@types/bcryptjs": "^3.0.0", "@types/better-sqlite3": "^7.6.12", "@types/ws": "^8.18.1", "esbuild": "^0.27.3", "tsx": "^4.21.0", "typescript": "^5.9.3", "vitest": "^3.0.0" }, "license": "MIT", "workspaces": [ "apps/*" ] }