mirror of
https://github.com/ChainSafe/lodestar.git
synced 2026-01-10 08:08:16 -05:00
**Motivation**
Update vitest and browser engine.
**Description**
- Move root level shared configs to `configs` directory
- Update to vitest 3.x
- Migrate from `webdriverio` to `playwright` which is more stable and
recommended by Vitest.
**NOTE**
Reverted the `playwright` upgrade. See the comments.
d2a7af0308/configs/vitest.config.base.browser.ts (L41-L43)
**Steps to test or reproduce**
Run all tests
100 lines
3.7 KiB
JSON
100 lines
3.7 KiB
JSON
{
|
|
"name": "@chainsafe/lodestar",
|
|
"version": "1.27.1",
|
|
"description": "Command line interface for lodestar",
|
|
"author": "ChainSafe Systems",
|
|
"license": "LGPL-3.0",
|
|
"bugs": {
|
|
"url": "https://github.com/ChainSafe/lodestar/issues"
|
|
},
|
|
"homepage": "https://github.com/ChainSafe/lodestar#readme",
|
|
"type": "module",
|
|
"exports": "./lib/index.js",
|
|
"files": [
|
|
"lib/**/*.d.ts",
|
|
"lib/**/*.js",
|
|
"lib/**/*.js.map",
|
|
".git-data.json"
|
|
],
|
|
"bin": {
|
|
"lodestar": "lib/index.js"
|
|
},
|
|
"scripts": {
|
|
"clean": "rm -rf lib && rm -f *.tsbuildinfo",
|
|
"build": "tsc -p tsconfig.build.json && yarn write-git-data",
|
|
"build:release": "yarn clean && yarn run build",
|
|
"build:watch": "tsc -p tsconfig.build.json --watch",
|
|
"write-git-data": "node lib/util/gitData/writeGitData.js",
|
|
"check-build": "node -e \"(async function() { await import('./lib/index.js') })()\" lodestar --help",
|
|
"check-types": "tsc",
|
|
"docs:build": "node --loader ts-node/esm ./docsgen/index.ts",
|
|
"lint": "biome check src/ test/",
|
|
"lint:fix": "yarn run lint --write",
|
|
"test:unit": "vitest run --dir test/unit/",
|
|
"test:e2e": "vitest run --config vitest.e2e.config.ts --dir test/e2e/",
|
|
"test:sim:multifork": "LODESTAR_PRESET=minimal DOTENV_CONFIG_PATH=../../.env.test node -r dotenv/config --loader ts-node/esm test/sim/multiFork.test.ts",
|
|
"test:sim:mixedclient": "LODESTAR_PRESET=minimal DOTENV_CONFIG_PATH=../../.env.test node -r dotenv/config --loader ts-node/esm test/sim/mixedClient.test.ts",
|
|
"test:sim:endpoints": "LODESTAR_PRESET=minimal DOTENV_CONFIG_PATH=../../.env.test node -r dotenv/config --loader ts-node/esm test/sim/endpoints.test.ts",
|
|
"test:sim:deneb": "LODESTAR_PRESET=minimal DOTENV_CONFIG_PATH=../../.env.test node -r dotenv/config --loader ts-node/esm test/sim/deneb.test.ts",
|
|
"test:sim:backup_eth_provider": "LODESTAR_PRESET=minimal DOTENV_CONFIG_PATH=../../.env.test node -r dotenv/config --loader ts-node/esm test/sim/backupEthProvider.test.ts",
|
|
"test": "yarn test:unit && yarn test:e2e",
|
|
"check-readme": "typescript-docs-verifier"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com:ChainSafe/lodestar.git"
|
|
},
|
|
"keywords": [
|
|
"ethereum",
|
|
"eth-consensus",
|
|
"beacon",
|
|
"blockchain"
|
|
],
|
|
"dependencies": {
|
|
"@chainsafe/bls-keygen": "^0.4.0",
|
|
"@chainsafe/bls-keystore": "^3.1.0",
|
|
"@chainsafe/blst": "^2.1.0",
|
|
"@chainsafe/discv5": "^9.0.0",
|
|
"@chainsafe/enr": "^3.0.0",
|
|
"@chainsafe/persistent-merkle-tree": "^1.0.1",
|
|
"@chainsafe/ssz": "^1.0.2",
|
|
"@chainsafe/threads": "^1.11.1",
|
|
"@libp2p/crypto": "^4.1.0",
|
|
"@libp2p/peer-id": "^4.1.0",
|
|
"@libp2p/peer-id-factory": "^4.1.0",
|
|
"@lodestar/api": "^1.27.1",
|
|
"@lodestar/beacon-node": "^1.27.1",
|
|
"@lodestar/config": "^1.27.1",
|
|
"@lodestar/db": "^1.27.1",
|
|
"@lodestar/light-client": "^1.27.1",
|
|
"@lodestar/logger": "^1.27.1",
|
|
"@lodestar/params": "^1.27.1",
|
|
"@lodestar/state-transition": "^1.27.1",
|
|
"@lodestar/types": "^1.27.1",
|
|
"@lodestar/utils": "^1.27.1",
|
|
"@lodestar/validator": "^1.27.1",
|
|
"@multiformats/multiaddr": "^12.1.3",
|
|
"deepmerge": "^4.3.1",
|
|
"ethers": "^6.7.0",
|
|
"find-up": "^6.3.0",
|
|
"got": "^11.8.6",
|
|
"inquirer": "^9.1.5",
|
|
"js-yaml": "^4.1.0",
|
|
"prom-client": "^15.1.0",
|
|
"proper-lockfile": "^4.1.2",
|
|
"rimraf": "^4.4.1",
|
|
"source-map-support": "^0.5.21",
|
|
"uint8arrays": "^5.0.1",
|
|
"yargs": "^17.7.1"
|
|
},
|
|
"devDependencies": {
|
|
"@lodestar/test-utils": "^1.27.1",
|
|
"@types/debug": "^4.1.7",
|
|
"@types/got": "^9.6.12",
|
|
"@types/inquirer": "^9.0.3",
|
|
"@types/proper-lockfile": "^4.1.4",
|
|
"@types/yargs": "^17.0.24",
|
|
"fastify": "^5.0.0"
|
|
}
|
|
}
|