Files
lodestar/packages/beacon-node/package.json
2026-01-06 19:07:53 +01:00

192 lines
6.1 KiB
JSON

{
"name": "@lodestar/beacon-node",
"description": "A Typescript implementation of the beacon chain",
"license": "Apache-2.0",
"author": "ChainSafe Systems",
"homepage": "https://github.com/ChainSafe/lodestar#readme",
"repository": {
"type": "git",
"url": "git+https://github.com:ChainSafe/lodestar.git"
},
"bugs": {
"url": "https://github.com/ChainSafe/lodestar/issues"
},
"version": "1.38.0",
"type": "module",
"exports": {
".": {
"bun": "./src/index.ts",
"types": "./lib/index.d.ts",
"import": "./lib/index.js"
},
"./api": {
"bun": "./src/api/index.ts",
"types": "./lib/api/index.d.ts",
"import": "./lib/api/index.js"
},
"./chain": {
"bun": "./src/chain/index.ts",
"types": "./lib/chain/index.d.ts",
"import": "./lib/chain/index.js"
},
"./constants": {
"bun": "./src/constants/index.ts",
"types": "./lib/constants/index.d.ts",
"import": "./lib/constants/index.js"
},
"./db": {
"bun": "./src/db/index.ts",
"types": "./lib/db/index.d.ts",
"import": "./lib/db/index.js"
},
"./metrics": {
"bun": "./src/metrics/index.ts",
"types": "./lib/metrics/index.d.ts",
"import": "./lib/metrics/index.js"
},
"./monitoring": {
"bun": "./src/monitoring/index.ts",
"types": "./lib/monitoring/index.d.ts",
"import": "./lib/monitoring/index.js"
},
"./network": {
"bun": "./src/network/index.ts",
"types": "./lib/network/index.d.ts",
"import": "./lib/network/index.js"
},
"./node": {
"bun": "./src/node/index.ts",
"types": "./lib/node/index.d.ts",
"import": "./lib/node/index.js"
},
"./sync": {
"bun": "./src/sync/index.ts",
"types": "./lib/sync/index.d.ts",
"import": "./lib/sync/index.js"
},
"./util": {
"bun": "./src/util/index.ts",
"types": "./lib/util/index.d.ts",
"import": "./lib/util/index.js"
}
},
"imports": {
"#prometheus-gc-stats-wrapper": {
"bun": "./src/bun-wrappers/prometheus-gc-stats.ts",
"default": "@chainsafe/prometheus-gc-stats"
},
"#datastore-wrapper": {
"bun": "./src/network/peers/datastore_bun.ts",
"default": "datastore-level"
}
},
"files": [
"src",
"lib",
"!**/*.tsbuildinfo"
],
"scripts": {
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"build:watch": "pnpm run build --watch",
"build:release": "pnpm clean && pnpm run build",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
"check-types": "tsc",
"lint": "biome check src/ test/",
"lint:fix": "pnpm run lint --write",
"test": "pnpm test:unit && pnpm test:e2e",
"test:unit": "vitest run --project unit --project unit-minimal",
"test:e2e": "vitest run --project e2e --project e2e-mainnet",
"test:sim": "vitest run test/sim/**/*.test.ts",
"test:sim:blobs": "vitest run test/sim/4844-interop.test.ts",
"download-spec-tests": "node --loader=ts-node/esm test/spec/downloadTests.ts",
"test:spec:bls": "vitest run --project spec-minimal test/spec/bls/",
"test:spec:general": "vitest run --project spec-minimal test/spec/general/",
"test:spec:minimal": "vitest run --project spec-minimal test/spec/presets/",
"test:spec:mainnet": "vitest run --project spec-mainnet test/spec/presets/",
"test:spec": "pnpm test:spec:bls && pnpm test:spec:general && pnpm test:spec:minimal && pnpm test:spec:mainnet",
"check-readme": "pnpm exec ts-node ../../scripts/check_readme.ts"
},
"dependencies": {
"@chainsafe/as-sha256": "^1.2.0",
"@chainsafe/blst": "^2.2.0",
"@chainsafe/discv5": "^11.0.4",
"@chainsafe/enr": "^5.0.1",
"@chainsafe/libp2p-gossipsub": "^14.1.2",
"@chainsafe/libp2p-noise": "^16.1.5",
"@chainsafe/persistent-merkle-tree": "^1.2.1",
"@chainsafe/prometheus-gc-stats": "^1.0.0",
"@chainsafe/pubkey-index-map": "^3.0.0",
"@chainsafe/snappy-wasm": "^0.5.0",
"@chainsafe/ssz": "^1.2.2",
"@chainsafe/threads": "^1.11.3",
"@crate-crypto/node-eth-kzg": "0.9.1",
"@fastify/bearer-auth": "^10.0.1",
"@fastify/cors": "^10.0.1",
"@fastify/swagger": "^9.0.0",
"@fastify/swagger-ui": "^5.0.1",
"@libp2p/bootstrap": "^11.0.32",
"@libp2p/crypto": "^5.0.15",
"@libp2p/identify": "^3.0.27",
"@libp2p/interface": "^2.7.0",
"@libp2p/mdns": "^11.0.32",
"@libp2p/mplex": "^11.0.32",
"@libp2p/peer-id": "^5.1.0",
"@libp2p/prometheus-metrics": "^4.3.15",
"@libp2p/tcp": "^10.1.8",
"@lodestar/api": "workspace:^",
"@lodestar/config": "workspace:^",
"@lodestar/db": "workspace:^",
"@lodestar/fork-choice": "workspace:^",
"@lodestar/light-client": "workspace:^",
"@lodestar/logger": "workspace:^",
"@lodestar/params": "workspace:^",
"@lodestar/reqresp": "workspace:^",
"@lodestar/state-transition": "workspace:^",
"@lodestar/types": "workspace:^",
"@lodestar/utils": "workspace:^",
"@lodestar/validator": "workspace:^",
"@multiformats/multiaddr": "^12.1.3",
"datastore-core": "^10.0.2",
"datastore-fs": "^10.0.6",
"datastore-level": "^11.0.3",
"deepmerge": "^4.3.1",
"fastify": "^5.2.1",
"interface-datastore": "^8.3.0",
"it-all": "^3.0.4",
"it-pipe": "^3.0.1",
"jwt-simple": "0.5.6",
"libp2p": "2.9.0",
"multiformats": "^11.0.1",
"prom-client": "^15.1.0",
"qs": "^6.11.1",
"strict-event-emitter-types": "^2.0.0",
"systeminformation": "^5.22.9",
"uint8arraylist": "^2.4.7",
"xxhash-wasm": "1.0.2"
},
"devDependencies": {
"@chainsafe/swap-or-not-shuffle": "^1.2.1",
"@libp2p/interface-internal": "^2.3.18",
"@libp2p/logger": "^5.1.21",
"@lodestar/spec-test-util": "workspace:^",
"@types/js-yaml": "^4.0.5",
"@types/qs": "^6.9.7",
"@types/tmp": "^0.2.3",
"it-drain": "^3.0.3",
"it-pair": "^2.0.6",
"js-yaml": "^4.1.0",
"rewiremock": "^3.14.5",
"rimraf": "^4.4.1",
"snappy": "^7.2.2",
"snappyjs": "^0.7.0",
"tmp": "^0.2.1"
},
"keywords": [
"ethereum",
"eth-consensus",
"beacon",
"blockchain"
]
}