Files
lodestar/packages/light-client/package.json
2025-12-10 11:44:00 -05:00

92 lines
2.6 KiB
JSON

{
"name": "@lodestar/light-client",
"description": "A Typescript implementation of the Ethereum Consensus light client",
"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"
},
"./utils": {
"bun": "./src/utils/index.ts",
"types": "./lib/utils/index.d.ts",
"import": "./lib/utils/index.js"
},
"./validation": {
"bun": "./src/validation.ts",
"types": "./lib/validation.d.ts",
"import": "./lib/validation.js"
},
"./spec": {
"bun": "./src/spec/index.ts",
"types": "./lib/spec/index.d.ts",
"import": "./lib/spec/index.js"
},
"./transport": {
"bun": "./src/transport/index.ts",
"types": "./lib/transport/index.d.ts",
"import": "./lib/transport/index.js"
}
},
"files": [
"src",
"lib",
"dist",
"!**/*.tsbuildinfo"
],
"scripts": {
"clean": "rm -rf lib && rm -rf dist && rm -f *.tsbuildinfo",
"build": "tsc -p tsconfig.build.json",
"build:watch": "yarn run build --watch",
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
"build:bundle": "vite build",
"check-bundle": "node -e \"(async function() { await import('./dist/lightclient.min.mjs') })()\"",
"build:release": "yarn clean && yarn run build && yarn run build:bundle",
"check-types": "tsc",
"lint": "biome check src/ test/",
"lint:fix": "yarn run lint --write",
"test": "yarn test:unit",
"test:unit": "vitest run --project unit --project unit-minimal",
"test:browsers": "yarn run build:bundle && vitest run --project browser",
"check-readme": "typescript-docs-verifier"
},
"dependencies": {
"@chainsafe/bls": "8.2.0",
"@chainsafe/blst": "^2.2.0",
"@chainsafe/persistent-merkle-tree": "^1.2.1",
"@chainsafe/ssz": "^1.2.2",
"@lodestar/api": "^1.38.0",
"@lodestar/config": "^1.38.0",
"@lodestar/params": "^1.38.0",
"@lodestar/types": "^1.38.0",
"@lodestar/utils": "^1.38.0",
"mitt": "^3.0.0"
},
"devDependencies": {
"@chainsafe/as-sha256": "^1.2.0",
"@types/qs": "^6.9.7",
"fastify": "^5.2.1",
"qs": "^6.11.1",
"uint8arrays": "^5.0.1"
},
"keywords": [
"ethereum",
"eth-consensus",
"beacon",
"light-client",
"blockchain"
]
}