UNPKG

@lodestar/utils

Version:

Utilities required across multiple lodestar packages

69 lines (68 loc) 1.91 kB
{ "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.41.0", "type": "module", "exports": { ".": { "bun": "./src/index.ts", "types": "./lib/index.d.ts", "import": "./lib/index.js" } }, "imports": { "#bytes": { "browser": "./lib/bytes/browser.js", "default": "./lib/bytes/nodejs.js" } }, "files": [ "src", "lib", "!**/*.tsbuildinfo" ], "scripts": { "clean": "rm -rf lib && rm -f *.tsbuildinfo", "build": "tsgo -p tsconfig.build.json", "build:watch": "pnpm run build --watch", "build:release": "pnpm clean && pnpm build", "check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"", "check-types": "tsgo && vitest run --project types", "lint": "biome check src/ test/", "lint:fix": "pnpm run lint --write", "test:unit": "vitest run --project unit --project unit-minimal", "test:browsers": "vitest run --project browser", "check-readme": "pnpm exec ts-node ../../scripts/check_readme.ts" }, "types": "lib/index.d.ts", "dependencies": { "@chainsafe/as-sha256": "^1.2.0", "@vekexasia/bigint-buffer2": "^1.1.1", "any-signal": "^4.1.1", "case": "^1.6.3", "js-yaml": "^4.1.0" }, "devDependencies": { "@chainsafe/ssz": "^1.2.2", "@types/js-yaml": "^4.0.5", "@types/yargs": "^17.0.24", "prom-client": "^15.1.0" }, "keywords": [ "ethereum", "eth-consensus", "beacon", "blockchain" ], "gitHead": "13e882a3a430d6df25a408b61b24954277e1f8e8" }