@lodestar/beacon-node
Version:
A Typescript implementation of the beacon chain
192 lines (191 loc) • 6.27 kB
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.43.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": "tsgo -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": "tsgo",
"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": "^12.0.1",
"@chainsafe/enr": "^6.0.1",
"@chainsafe/libp2p-noise": "^17.0.0",
"@chainsafe/libp2p-quic": "^2.0.1",
"@chainsafe/persistent-merkle-tree": "^1.2.5",
"@chainsafe/prometheus-gc-stats": "^1.0.0",
"@chainsafe/pubkey-index-map": "^3.0.0",
"@chainsafe/snappy-wasm": "^0.5.0",
"@chainsafe/ssz": "^1.4.0",
"@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": "^12.0.14",
"@libp2p/crypto": "^5.1.13",
"@libp2p/gossipsub": "^15.0.15",
"@libp2p/identify": "^4.0.13",
"@libp2p/interface": "^3.1.0",
"@libp2p/mdns": "^12.0.14",
"@libp2p/mplex": "^12.0.14",
"@libp2p/peer-id": "^6.0.4",
"@libp2p/prometheus-metrics": "^5.0.14",
"@libp2p/tcp": "^11.0.13",
"@lodestar/api": "^1.43.0",
"@lodestar/config": "^1.43.0",
"@lodestar/db": "^1.43.0",
"@lodestar/fork-choice": "^1.43.0",
"@lodestar/light-client": "^1.43.0",
"@lodestar/logger": "^1.43.0",
"@lodestar/params": "^1.43.0",
"@lodestar/reqresp": "^1.43.0",
"@lodestar/state-transition": "^1.43.0",
"@lodestar/types": "^1.43.0",
"@lodestar/utils": "^1.43.0",
"@lodestar/validator": "^1.43.0",
"@multiformats/multiaddr": "^13.0.1",
"datastore-core": "^11.0.2",
"datastore-fs": "^11.0.2",
"datastore-level": "^12.0.2",
"deepmerge": "^4.3.1",
"fastify": "^5.8.1",
"interface-datastore": "^9.0.2",
"jwt-simple": "0.5.6",
"libp2p": "3.1.6",
"multiformats": "^13.4.2",
"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": "^3.0.13",
"@libp2p/logger": "^6.2.2",
"@libp2p/utils": "^7.0.13",
"@lodestar/spec-test-util": "^1.43.0",
"@types/js-yaml": "^4.0.5",
"@types/qs": "^6.9.7",
"@types/tmp": "^0.2.3",
"dotenv": "^16.4.5",
"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"
],
"gitHead": "5cb87b7632ff76f9f93947147967618b26da2d0c"
}