Files
lodestar/packages/types/package.json
2025-05-09 12:15:00 -04:00

82 lines
1.9 KiB
JSON

{
"name": "@lodestar/types",
"description": "Typescript types required for lodestar",
"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.30.0",
"type": "module",
"exports": {
".": {
"import": "./lib/index.js"
},
"./altair": {
"import": "./lib/altair/index.js"
},
"./capella": {
"import": "./lib/capella/index.js"
},
"./bellatrix": {
"import": "./lib/bellatrix/index.js"
},
"./deneb": {
"import": "./lib/deneb/index.js"
},
"./electra": {
"import": "./lib/electra/index.js"
},
"./phase0": {
"import": "./lib/phase0/index.js"
}
},
"typesVersions": {
"*": {
"*": [
"*",
"lib/*",
"lib/*/index"
]
}
},
"files": [
"lib/**/*.d.ts",
"lib/**/*.js",
"lib/**/*.js.map",
"*.d.ts",
"*.js"
],
"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",
"test:browsers": "vitest run --project browser",
"check-readme": "typescript-docs-verifier"
},
"types": "lib/index.d.ts",
"dependencies": {
"@chainsafe/ssz": "^1.2.0",
"@lodestar/params": "^1.30.0",
"ethereum-cryptography": "^2.0.0"
},
"keywords": [
"ethereum",
"eth-consensus",
"beacon",
"blockchain"
]
}