mirror of
https://github.com/farcasterxyz/hub-monorepo.git
synced 2026-02-16 07:56:07 -05:00
91 lines
3.2 KiB
JSON
91 lines
3.2 KiB
JSON
{
|
|
"name": "@farcaster/hubble",
|
|
"version": "1.5.1",
|
|
"description": "Farcaster Hub",
|
|
"author": "",
|
|
"license": "",
|
|
"private": true,
|
|
"bugs": {
|
|
"url": "https://github.com/farcasterxyz/hub-monorepo/issues"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/farcasterxyz/hub.git"
|
|
},
|
|
"homepage": "https://github.com/farcasterxyz/hub-monorepo#readme",
|
|
"type": "module",
|
|
"scripts": {
|
|
"bench": "NODE_OPTIONS='--max-old-space-size=8192' tsx src/test/bench",
|
|
"copy:rust": "mkdir -p build/addon && cp src/addon/index.node build/addon/index.node",
|
|
"build:rust": "cargo-cp-artifact -ac addon src/addon/index.node -- cargo build --manifest-path ./src/addon/Cargo.toml --message-format=json-render-diagnostics --release",
|
|
"build": "yarn clean && yarn build:rust && tsc --project ./tsconfig.json && yarn copy:rust",
|
|
"clean": "rimraf ./build && cargo clean --manifest-path ./src/addon/Cargo.toml",
|
|
"dev": "yarn start | yarn pino-pretty",
|
|
"lint": "rome format src/ --write && rome check src/ --apply",
|
|
"lint:ci": "rome ci src/",
|
|
"start": "node --no-warnings build/cli.js start",
|
|
"identity": "node --no-warnings build/cli.js identity",
|
|
"dbreset": "node build/cli.js dbreset",
|
|
"events-reset": "node build/cli.js events-reset",
|
|
"console": "node build/cli.js console",
|
|
"profile": "node --max-old-space-size=4096 build/cli.js profile",
|
|
"status": "node build/cli.js status",
|
|
"test": "NODE_OPTIONS=\"--experimental-vm-modules --max-old-space-size=4096\" jest",
|
|
"test:ci": "ENVIRONMENT=test NODE_OPTIONS=--experimental-vm-modules jest --ci --forceExit --coverage"
|
|
},
|
|
"devDependencies": {
|
|
"@libp2p/interface-mocks": "^9.0.0",
|
|
"@types/abstract-leveldown": "^7.2.1",
|
|
"@types/async-lock": "^1.4.0",
|
|
"@types/chance": "^1.1.3",
|
|
"@types/cli-progress": "^3.11.0",
|
|
"@types/node-cron": "^3.0.7",
|
|
"@types/progress": "^2.0.5",
|
|
"@types/rwlock": "^5.0.3",
|
|
"@viem/anvil": "^0.0.6",
|
|
"cargo-cp-artifact": "^0.1",
|
|
"chance": "~1.1.11",
|
|
"csv-stringify": "~6.3.0",
|
|
"eslint-config-custom": "*",
|
|
"fishery": "~2.2.2",
|
|
"pino-pretty": "~10.0.0",
|
|
"prettier-config-custom": "*",
|
|
"progress": "~2.0.3",
|
|
"rome-config-custom": "*",
|
|
"ts-mockito": "~2.6.1",
|
|
"tsx": "~3.12.5"
|
|
},
|
|
"dependencies": {
|
|
"@chainsafe/libp2p-gossipsub": "6.1.0",
|
|
"@chainsafe/libp2p-noise": "^11.0.0 ",
|
|
"@faker-js/faker": "~7.6.0",
|
|
"@farcaster/hub-nodejs": "^0.10.5",
|
|
"@farcaster/rocksdb": "^5.5.0",
|
|
"@grpc/grpc-js": "~1.8.21",
|
|
"@libp2p/interface-connection": "^3.0.2",
|
|
"@libp2p/interface-peer-id": "^2.0.0",
|
|
"@libp2p/mplex": "^7.0.0",
|
|
"@libp2p/peer-id-factory": "^2.0.0",
|
|
"@libp2p/pubsub-peer-discovery": "^8.0.0",
|
|
"@libp2p/tcp": "^6.0.0",
|
|
"@libp2p/utils": "^3.0.2",
|
|
"@multiformats/multiaddr": "^11.0.0",
|
|
"@noble/curves": "^1.0.0",
|
|
"abitype": "^0.8.3",
|
|
"async-lock": "^1.4.0",
|
|
"axios": "^1.4.0",
|
|
"cli-progress": "^3.12.0",
|
|
"commander": "~10.0.0",
|
|
"hot-shots": "^10.0.0",
|
|
"libp2p": "0.42.2",
|
|
"neverthrow": "~6.0.0",
|
|
"node-cron": "~3.0.2",
|
|
"pino": "~8.11.0",
|
|
"rate-limiter-flexible": "^2.4.1",
|
|
"rwlock": "~5.0.0",
|
|
"semver": "^7.5.2",
|
|
"tiny-typed-emitter": "~2.1.0",
|
|
"viem": "^1.1.4"
|
|
}
|
|
}
|