/ package.json
package.json
1 { 2 "name": "@playnet/p2p", 3 "version": "0.1.0", 4 "description": "A peer-to-peer, offline-first, capability-secure protocol stack", 5 "type": "module", 6 "exports": { 7 "./identity": { 8 "types": "./identity/dist/index.d.ts", 9 "import": "./identity/dist/index.js", 10 "default": "./identity/dist/index.js" 11 }, 12 "./identity/schemas": { 13 "types": "./identity/dist/schemas.d.ts", 14 "import": "./identity/dist/schemas.js", 15 "default": "./identity/dist/schemas.js" 16 }, 17 "./storage": { 18 "types": "./storage/dist/index.d.ts", 19 "import": "./storage/dist/index.js", 20 "default": "./storage/dist/index.js" 21 }, 22 "./storage/schemas": { 23 "types": "./storage/dist/schemas.d.ts", 24 "import": "./storage/dist/schemas.js", 25 "default": "./storage/dist/schemas.js" 26 }, 27 "./ucanto": { 28 "types": "./ucanto/dist/index.d.ts", 29 "import": "./ucanto/dist/index.js", 30 "default": "./ucanto/dist/index.js" 31 }, 32 "./ucanto/schemas": { 33 "types": "./ucanto/dist/schemas.d.ts", 34 "import": "./ucanto/dist/schemas.js", 35 "default": "./ucanto/dist/schemas.js" 36 }, 37 "./rpc": { 38 "types": "./rpc/dist/index.d.ts", 39 "import": "./rpc/dist/index.js", 40 "default": "./rpc/dist/index.js" 41 }, 42 "./transport": { 43 "types": "./transport/dist/index.d.ts", 44 "import": "./transport/dist/index.js", 45 "default": "./transport/dist/index.js" 46 }, 47 "./discovery": { 48 "types": "./discovery/dist/index.d.ts", 49 "import": "./discovery/dist/index.js", 50 "default": "./discovery/dist/index.js" 51 }, 52 "./sync": { 53 "types": "./sync/dist/index.d.ts", 54 "import": "./sync/dist/index.js", 55 "default": "./sync/dist/index.js" 56 } 57 }, 58 "publishConfig": { 59 "access": "public" 60 }, 61 "files": [ 62 "identity/dist", 63 "identity/src", 64 "storage/dist", 65 "storage/src", 66 "ucanto/dist", 67 "ucanto/src", 68 "rpc/dist", 69 "rpc/src", 70 "transport/dist", 71 "transport/src", 72 "discovery/dist", 73 "discovery/src", 74 "sync/dist", 75 "sync/src", 76 "identity/package.json", 77 "storage/package.json", 78 "ucanto/package.json", 79 "rpc/package.json", 80 "transport/package.json", 81 "discovery/package.json", 82 "sync/package.json", 83 "identity/tsconfig.json", 84 "storage/tsconfig.json", 85 "ucanto/tsconfig.json", 86 "rpc/tsconfig.json", 87 "transport/tsconfig.json", 88 "discovery/tsconfig.json", 89 "sync/tsconfig.json", 90 "README.md", 91 "LICENSE" 92 ], 93 "scripts": { 94 "build": "npm run build --workspaces --if-present", 95 "test": "npm run test --workspaces --if-present", 96 "test:coverage": "npm run test:coverage --workspaces --if-present", 97 "clean": "rm -rf */dist */.tsbuildinfo", 98 "prepublishOnly": "npm run clean && npm run build" 99 }, 100 "workspaces": [ 101 "identity", 102 "storage", 103 "ucanto", 104 "rpc", 105 "transport", 106 "discovery", 107 "sync" 108 ], 109 "keywords": [ 110 "p2p", 111 "peer-to-peer", 112 "offline-first", 113 "capability-based-security", 114 "ucan", 115 "crdt", 116 "identity", 117 "storage", 118 "transport", 119 "discovery", 120 "sync" 121 ], 122 "author": "", 123 "license": "MIT", 124 "repository": { 125 "type": "git", 126 "url": "" 127 }, 128 "dependencies": { 129 "@automerge/automerge": "^2.2.0", 130 "@chainsafe/libp2p-noise": "^17.0.0", 131 "@ipld/dag-cbor": "^9.0.0", 132 "@libp2p/interface": "^3.1.0", 133 "@libp2p/peer-id": "^6.0.4", 134 "@noble/ed25519": "^2.0.0", 135 "@noble/hashes": "^1.3.0", 136 "@stablelib/chacha20poly1305": "^1.0.1", 137 "@stablelib/hkdf": "^1.0.1", 138 "@stablelib/sha256": "^1.0.1", 139 "@stablelib/x25519": "^1.0.3", 140 "@ucanto/client": "^9.0.2", 141 "@ucanto/core": "^10.0.0", 142 "@ucanto/principal": "^9.0.0", 143 "@ucanto/validator": "^9.0.0", 144 "idb-keyval": "^6.2.0", 145 "multiformats": "^13.0.0", 146 "uint8arrays": "^5.1.0", 147 "uuid": "^13.0.0", 148 "zod": "^3.22.0" 149 }, 150 "devDependencies": { 151 "@types/node": "^20.0.0", 152 "@types/uuid": "^10.0.0", 153 "fake-indexeddb": "^5.0.0", 154 "typescript": "^5.3.0", 155 "vitest": "^1.0.0" 156 } 157 }