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

84 lines
2.0 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.30.0",
"type": "module",
"exports": {
".": {
"import": "./lib/index.js"
},
"./browser": {
"import": "./lib/browser.js"
},
"./env": {
"import": "./lib/env.js"
},
"./node": {
"import": "./lib/node.js"
},
"./empty": {
"import": "./lib/empty.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 && 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.30.0",
"winston": "^3.8.2",
"winston-daily-rotate-file": "^4.7.1",
"winston-transport": "^4.5.0"
},
"devDependencies": {
"@chainsafe/threads": "^1.11.1",
"@lodestar/test-utils": "^1.30.0",
"@types/triple-beam": "^1.3.2",
"triple-beam": "^1.3.0"
},
"keywords": [
"ethereum",
"eth-consensus",
"beacon",
"blockchain"
]
}