mirror of
https://github.com/ChainSafe/lodestar.git
synced 2026-01-09 15:48:08 -05:00
**Motivation** - #7280 **Description** - Add `"bun"` export to all packages that points to the _typescript source_ rather than the transpiled javascript - Allows for bun to use typescript directly
62 lines
1.6 KiB
JSON
62 lines
1.6 KiB
JSON
{
|
|
"name": "@lodestar/utils",
|
|
"description": "Utilities required across multiple lodestar packages",
|
|
"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.34.1",
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"bun": "./src/index.ts",
|
|
"import": "./lib/index.js"
|
|
}
|
|
},
|
|
"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 && vitest run --project types",
|
|
"lint": "biome check src/ test/",
|
|
"lint:fix": "yarn run lint --write",
|
|
"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/as-sha256": "^1.2.0",
|
|
"any-signal": "^4.1.1",
|
|
"bigint-buffer": "^1.1.5",
|
|
"case": "^1.6.3",
|
|
"js-yaml": "^4.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/js-yaml": "^4.0.5",
|
|
"@types/yargs": "^17.0.24",
|
|
"prom-client": "^15.1.0"
|
|
},
|
|
"keywords": [
|
|
"ethereum",
|
|
"eth-consensus",
|
|
"beacon",
|
|
"blockchain"
|
|
]
|
|
}
|