mirror of
https://github.com/ChainSafe/lodestar.git
synced 2026-01-08 23:28:10 -05:00
100 lines
2.8 KiB
JSON
100 lines
2.8 KiB
JSON
{
|
|
"name": "@lodestar/api",
|
|
"description": "A Typescript REST client for the Ethereum Consensus API",
|
|
"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"
|
|
},
|
|
"./server": {
|
|
"bun": "./src/server/index.ts",
|
|
"types": "./lib/server/index.d.ts",
|
|
"import": "./lib/server/index.js"
|
|
},
|
|
"./beacon": {
|
|
"bun": "./src/beacon/index.ts",
|
|
"types": "./lib/beacon/index.d.ts",
|
|
"import": "./lib/beacon/index.js"
|
|
},
|
|
"./beacon/server": {
|
|
"bun": "./src/beacon/server/index.ts",
|
|
"types": "./lib/beacon/server/index.d.ts",
|
|
"import": "./lib/beacon/server/index.js"
|
|
},
|
|
"./builder": {
|
|
"bun": "./src/builder/index.ts",
|
|
"types": "./lib/builder/index.d.ts",
|
|
"import": "./lib/builder/index.js"
|
|
},
|
|
"./builder/server": {
|
|
"bun": "./src/builder/server/index.ts",
|
|
"types": "./lib/builder/server/index.d.ts",
|
|
"import": "./lib/builder/server/index.js"
|
|
},
|
|
"./keymanager": {
|
|
"bun": "./src/keymanager/index.ts",
|
|
"types": "./lib/keymanager/index.d.ts",
|
|
"import": "./lib/keymanager/index.js"
|
|
},
|
|
"./keymanager/server": {
|
|
"bun": "./src/keymanager/server/index.ts",
|
|
"types": "./lib/keymanager/server/index.d.ts",
|
|
"import": "./lib/keymanager/server/index.js"
|
|
}
|
|
},
|
|
"files": [
|
|
"src",
|
|
"lib",
|
|
"!**/*.tsbuildinfo"
|
|
],
|
|
"scripts": {
|
|
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"build:watch": "yarn run build --watch",
|
|
"build:release": "yarn clean && yarn run build",
|
|
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
|
|
"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",
|
|
"check-readme": "typescript-docs-verifier"
|
|
},
|
|
"dependencies": {
|
|
"@chainsafe/persistent-merkle-tree": "^1.2.1",
|
|
"@chainsafe/ssz": "^1.2.2",
|
|
"@lodestar/config": "^1.38.0",
|
|
"@lodestar/params": "^1.38.0",
|
|
"@lodestar/types": "^1.38.0",
|
|
"@lodestar/utils": "^1.38.0",
|
|
"eventsource": "^2.0.2",
|
|
"qs": "^6.11.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/eventsource": "^1.1.11",
|
|
"@types/qs": "^6.9.7",
|
|
"ajv": "^8.12.0",
|
|
"fastify": "^5.2.1"
|
|
},
|
|
"keywords": [
|
|
"ethereum",
|
|
"eth-consensus",
|
|
"beacon",
|
|
"api",
|
|
"blockchain"
|
|
]
|
|
}
|