mirror of
https://github.com/ChainSafe/lodestar.git
synced 2026-01-10 16:18:17 -05:00
88 lines
2.5 KiB
JSON
88 lines
2.5 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.15.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": "eslint --color --ext .ts src/ test/",
|
|
"lint:fix": "yarn run lint --fix",
|
|
"pretest": "yarn run check-types",
|
|
"test:unit": "vitest --run --dir test/unit/",
|
|
"test:browsers": "yarn test:browsers:chrome && yarn test:browsers:firefox && yarn test:browsers:electron",
|
|
"test:browsers:chrome": "vitest --run --browser chrome --config ./vitest.browser.config.ts --dir test/unit",
|
|
"test:browsers:firefox": "vitest --run --browser firefox --config ./vitest.browser.config.ts --dir test/unit",
|
|
"test:browsers:electron": "echo 'Electron tests will be introduced back in the future as soon vitest supports electron.'",
|
|
"test:e2e": "LODESTAR_PRESET=minimal vitest --run --config vitest.config.e2e.ts --dir test/e2e",
|
|
"check-readme": "typescript-docs-verifier"
|
|
},
|
|
"types": "lib/index.d.ts",
|
|
"dependencies": {
|
|
"@lodestar/utils": "^1.15.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.15.0",
|
|
"@types/triple-beam": "^1.3.2",
|
|
"rimraf": "^4.4.1",
|
|
"triple-beam": "^1.3.0"
|
|
},
|
|
"keywords": [
|
|
"ethereum",
|
|
"eth-consensus",
|
|
"beacon",
|
|
"blockchain"
|
|
]
|
|
}
|