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

78 lines
2.2 KiB
JSON

{
"name": "@lodestar/state-transition",
"description": "Beacon Chain state transition function and utils",
"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"
},
"./block": {
"bun": "./src/block/index.ts",
"types": "./lib/block/index.d.ts",
"import": "./lib/block/index.js"
},
"./epoch": {
"bun": "./src/epoch/index.ts",
"types": "./lib/epoch/index.d.ts",
"import": "./lib/epoch/index.js"
},
"./slot": {
"bun": "./src/slot/index.ts",
"types": "./lib/slot/index.d.ts",
"import": "./lib/slot/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 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"
},
"types": "lib/index.d.ts",
"dependencies": {
"@chainsafe/as-sha256": "^1.2.0",
"@chainsafe/blst": "^2.2.0",
"@chainsafe/persistent-merkle-tree": "^1.2.1",
"@chainsafe/persistent-ts": "^1.0.0",
"@chainsafe/pubkey-index-map": "^3.0.0",
"@chainsafe/ssz": "^1.2.2",
"@chainsafe/swap-or-not-shuffle": "^1.2.1",
"@lodestar/config": "^1.38.0",
"@lodestar/params": "^1.38.0",
"@lodestar/types": "^1.38.0",
"@lodestar/utils": "^1.38.0",
"bigint-buffer": "^1.1.5"
},
"keywords": [
"ethereum",
"eth-consensus",
"beacon",
"blockchain"
]
}