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

83 lines
2.2 KiB
JSON

{
"name": "@lodestar/logger",
"description": "Common NodeJS logger for Lodestar binaries",
"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"
},
"./browser": {
"bun": "./src/browser.ts",
"types": "./lib/browser.d.ts",
"import": "./lib/browser.js"
},
"./env": {
"bun": "./src/env.ts",
"types": "./lib/env.d.ts",
"import": "./lib/env.js"
},
"./node": {
"bun": "./src/node.ts",
"types": "./lib/node.d.ts",
"import": "./lib/node.js"
},
"./empty": {
"bun": "./src/empty.ts",
"types": "./lib/empty.d.ts",
"import": "./lib/empty.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 && yarn test:e2e",
"test:unit": "vitest run --project unit --project unit-minimal",
"test:browsers": "vitest run --project browser",
"test:e2e": "vitest run --project e2e --project e2e-mainnet",
"check-readme": "typescript-docs-verifier"
},
"types": "lib/index.d.ts",
"dependencies": {
"@lodestar/utils": "^1.38.0",
"winston": "^3.8.2",
"winston-daily-rotate-file": "^4.7.1",
"winston-transport": "^4.5.0"
},
"devDependencies": {
"@chainsafe/threads": "^1.11.3",
"@lodestar/test-utils": "^1.38.0",
"@types/triple-beam": "^1.3.2",
"triple-beam": "^1.3.0"
},
"keywords": [
"ethereum",
"eth-consensus",
"beacon",
"blockchain"
]
}