{
  "name": "@lodestar/beacon-node",
  "description": "A Typescript implementation of the beacon chain",
  "license": "LGPL-3.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.4.2",
  "type": "module",
  "exports": {
    ".": {
      "import": "./lib/index.js"
    },
    "./api": {
      "import": "./lib/api/index.js"
    },
    "./chain": {
      "import": "./lib/chain/index.js"
    },
    "./constants": {
      "import": "./lib/constants/index.js"
    },
    "./db": {
      "import": "./lib/db/index.js"
    },
    "./eth1": {
      "import": "./lib/eth1/index.js"
    },
    "./metrics": {
      "import": "./lib/metrics/index.js"
    },
    "./network": {
      "import": "./lib/network/index.js"
    },
    "./node": {
      "import": "./lib/node/index.js"
    },
    "./sync": {
      "import": "./lib/sync/index.js"
    }
  },
  "typesVersions": {
    "*": {
      "*": [
        "*",
        "lib/*",
        "lib/*/index"
      ]
    }
  },
  "types": "./lib/index.d.ts",
  "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:lib:watch": "yarn run build:lib --watch",
    "build:release": "yarn clean && yarn run build",
    "build:types:watch": "yarn run build:types --watch",
    "check-build": "node -e \"(async function() { await import('./lib/index.js') })()\"",
    "check-types": "tsc",
    "coverage": "codecov -F lodestar",
    "lint": "eslint --color --ext .ts src/ test/",
    "lint:fix": "yarn run lint --fix",
    "pretest": "yarn run check-types",
    "test": "yarn test:unit && yarn test:e2e",
    "test:unit:minimal": "nyc --cache-dir .nyc_output/.cache -e .ts mocha 'test/unit/**/*.test.ts'",
    "test:unit:mainnet": "LODESTAR_PRESET=mainnet nyc --cache-dir .nyc_output/.cache -e .ts mocha 'test/unit-mainnet/**/*.test.ts'",
    "test:unit": "yarn test:unit:minimal && yarn test:unit:mainnet",
    "test:e2e": "mocha 'test/e2e/**/*.test.ts'",
    "test:sim": "mocha 'test/sim/**/*.test.ts'",
    "test:sim:merge-interop": "mocha 'test/sim/merge-interop.test.ts'",
    "test:sim:mergemock": "mocha 'test/sim/mergemock.test.ts'",
    "test:sim:withdrawals": "mocha 'test/sim/withdrawal-interop.test.ts'",
    "download-spec-tests": "node --loader=ts-node/esm test/spec/downloadTests.ts",
    "check-spec-tests": "mocha test/spec/checkCoverage.ts",
    "test:spec-bls-general": "mocha --config .mocharc.spec.cjs 'test/spec/bls/**/*.test.ts' 'test/spec/general/**/*.test.ts'",
    "test:spec-minimal": "LODESTAR_PRESET=minimal mocha --config .mocharc.spec.cjs 'test/spec/presets/**/*.test.ts'",
    "test:spec-mainnet": "LODESTAR_PRESET=mainnet mocha --config .mocharc.spec.cjs 'test/spec/presets/**/*.test.ts'",
    "test:spec": "yarn test:spec-bls-general && yarn test:spec-minimal && yarn test:spec-mainnet",
    "check-readme": "typescript-docs-verifier"
  },
  "dependencies": {
    "@chainsafe/as-chacha20poly1305": "^0.1.0",
    "@chainsafe/as-sha256": "^0.3.1",
    "@chainsafe/bls": "7.1.1",
    "@chainsafe/discv5": "^3.0.0",
    "@chainsafe/libp2p-gossipsub": "^6.1.0",
    "@chainsafe/libp2p-noise": "^11.0.0",
    "@chainsafe/persistent-merkle-tree": "^0.4.2",
    "@chainsafe/snappy-stream": "^5.1.2",
    "@chainsafe/ssz": "^0.9.2",
    "@chainsafe/threads": "^1.10.0",
    "@ethersproject/abi": "^5.0.0",
    "@libp2p/bootstrap": "^6.0.0",
    "@libp2p/interface-connection": "^3.0.2",
    "@libp2p/interface-connection-manager": "^1.3.0",
    "@libp2p/interface-peer-id": "^2.0.1",
    "@libp2p/interface-pubsub": "^3.0.0",
    "@libp2p/interface-registrar": "^2.0.8",
    "@libp2p/mdns": "^6.0.0",
    "@libp2p/mplex": "^7.1.0",
    "@libp2p/peer-id-factory": "^2.0.1",
    "@libp2p/prometheus-metrics": "^1.1.2",
    "@libp2p/tcp": "^6.1.0",
    "@lodestar/api": "^1.4.2",
    "@lodestar/config": "^1.4.2",
    "@lodestar/db": "^1.4.2",
    "@lodestar/fork-choice": "^1.4.2",
    "@lodestar/light-client": "^1.4.2",
    "@lodestar/params": "^1.4.2",
    "@lodestar/reqresp": "^1.4.2",
    "@lodestar/state-transition": "^1.4.2",
    "@lodestar/types": "^1.4.2",
    "@lodestar/utils": "^1.4.2",
    "@lodestar/validator": "^1.4.2",
    "@multiformats/multiaddr": "^11.0.0",
    "@types/datastore-level": "^3.0.0",
    "buffer-xor": "^2.0.2",
    "cross-fetch": "^3.1.4",
    "datastore-core": "^8.0.1",
    "datastore-level": "^9.0.1",
    "deepmerge": "^3.2.0",
    "fastify": "3.29.4",
    "fastify-bearer-auth": "6.1.0",
    "fastify-cors": "^6.0.1",
    "gc-stats": "^1.4.0",
    "interface-datastore": "^7.0.0",
    "it-all": "^2.0.0",
    "it-pipe": "^2.0.5",
    "jwt-simple": "0.5.6",
    "libp2p": "0.42.2",
    "prom-client": "^14.1.0",
    "prometheus-gc-stats": "^0.6.3",
    "snappyjs": "^0.7.0",
    "stream-to-it": "^0.2.0",
    "strict-event-emitter-types": "^2.0.0",
    "uint8arraylist": "^2.3.2",
    "uint8arrays": "^4.0.2",
    "varint": "^6.0.0",
    "xxhash-wasm": "1.0.1"
  },
  "peerDependencies": {
    "c-kzg": "^1.0.7"
  },
  "devDependencies": {
    "@types/bl": "^5.0.1",
    "@types/eventsource": "^1.1.5",
    "@types/leveldown": "^4.0.2",
    "@types/prometheus-gc-stats": "^0.6.1",
    "@types/supertest": "^2.0.12",
    "@types/tmp": "^0.2.0",
    "@types/varint": "^6.0.0",
    "eventsource": "^2.0.2",
    "leveldown": "^6.1.1",
    "rewiremock": "^3.14.3",
    "rimraf": "^3.0.2",
    "tmp": "^0.2.1"
  },
  "keywords": [
    "ethereum",
    "eth-consensus",
    "beacon",
    "blockchain"
  ]
}
