mirror of
https://github.com/ChainSafe/lodestar.git
synced 2026-01-06 22:33:59 -05:00
`yarn build:watch` and `yarn build:ifchanged` no longer work since https://github.com/ChainSafe/lodestar/pull/8675 since `lerna exec` requires to install a separate package `@lerna-lite/exec` to work properly
92 lines
3.5 KiB
JSON
92 lines
3.5 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"engines": {
|
|
"node": ">=22 <25"
|
|
},
|
|
"packageManager": "yarn@1.22.22+sha256.c17d3797fb9a9115bf375e31bfd30058cac6bc9c3b8807a3d8cb2094794b51ca",
|
|
"workspaces": [
|
|
"packages/*"
|
|
],
|
|
"scripts": {
|
|
"clean": "rm -rf ./packages/*/lib ./packages/*/*.tsbuildinfo",
|
|
"clean:nm": "rm -rf ./packages/*/node_modules ./node_modules",
|
|
"build": "lerna run build",
|
|
"build:bundle": "lerna run build:bundle",
|
|
"build:watch": "lerna exec --parallel -- 'yarn run build:watch'",
|
|
"build:ifchanged": "lerna exec -- ../../scripts/build_if_changed.sh",
|
|
"lint": "biome check",
|
|
"lint:fix": "yarn lint --write",
|
|
"lint-dashboards": "node scripts/lint-grafana-dashboards.mjs ./dashboards",
|
|
"check-build": "lerna run check-build",
|
|
"check-bundle": "lerna run check-bundle",
|
|
"check-readme": "lerna run check-readme",
|
|
"check-types": "lerna run check-types",
|
|
"check-spelling": "pyspelling -c .pyspelling.yml -v",
|
|
"docs:build": "lerna run check-readme && lerna run docs:build && ./scripts/prepare-docs.sh",
|
|
"docs:serve": "yarn --cwd docs install && yarn --cwd docs start",
|
|
"docs:lint": "prettier '**/*.md' --check",
|
|
"docs:lint:fix": "prettier '**/*.md' --write",
|
|
"test": "lerna run test --concurrency 1",
|
|
"test:unit": "vitest run --project unit --project unit-minimal",
|
|
"test:browsers": "vitest run --project browser",
|
|
"test:e2e": "vitest run --project e2e --project e2e-mainnet",
|
|
"download-spec-tests": "lerna run download-spec-tests",
|
|
"test:spec": "vitest run --project spec-minimal --project spec-mainnet",
|
|
"benchmark": "yarn benchmark:files 'packages/*/test/perf/**/*.test.ts'",
|
|
"benchmark:files": "NODE_OPTIONS='--max-old-space-size=4096 --loader=ts-node/esm' benchmark --config .benchrc.yaml --defaultBranch unstable",
|
|
"release:create-rc": "node scripts/release/create_rc.mjs",
|
|
"release:tag-rc": "node scripts/release/tag_rc.mjs",
|
|
"release:tag-stable": "node scripts/release/tag_stable.mjs",
|
|
"release:publish": "lerna publish from-package --yes --no-verify-access"
|
|
},
|
|
"devDependencies": {
|
|
"@actions/core": "^1.11.1",
|
|
"@biomejs/biome": "^2.2.0",
|
|
"@chainsafe/benchmark": "^1.2.3",
|
|
"@chainsafe/biomejs-config": "^1.0.0",
|
|
"@lerna-lite/cli": "^4.9.4",
|
|
"@lerna-lite/exec": "^4.9.4",
|
|
"@lerna-lite/publish": "^4.9.4",
|
|
"@lerna-lite/run": "^4.9.4",
|
|
"@lerna-lite/version": "^4.9.4",
|
|
"@types/node": "^24.10.1",
|
|
"@types/react": "^19.1.12",
|
|
"@vitest/browser": "^4.0.7",
|
|
"@vitest/browser-playwright": "^4.0.7",
|
|
"@vitest/coverage-v8": "^4.0.7",
|
|
"bun-types": "^1.2.21",
|
|
"crypto-browserify": "^3.12.0",
|
|
"dotenv": "^16.4.5",
|
|
"electron": "^26.2.2",
|
|
"https-browserify": "^1.0.0",
|
|
"jsdom": "^23.0.1",
|
|
"libp2p": "2.9.0",
|
|
"node-gyp": "^9.4.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"path-browserify": "^1.0.1",
|
|
"playwright": "^1.56.1",
|
|
"prettier": "^3.2.5",
|
|
"process": "^0.11.10",
|
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
"stream-browserify": "^3.0.0",
|
|
"stream-http": "^3.2.0",
|
|
"supertest": "^6.3.3",
|
|
"ts-node": "^10.9.2",
|
|
"typescript": "^5.9.2",
|
|
"typescript-docs-verifier": "^3.0.1",
|
|
"vite": "^6.0.11",
|
|
"vite-plugin-dts": "^4.5.4",
|
|
"vite-plugin-node-polyfills": "^0.24.0",
|
|
"vite-plugin-top-level-await": "^1.6.0",
|
|
"vitest": "^4.0.7",
|
|
"vitest-when": "^0.9.0",
|
|
"wait-port": "^1.1.0"
|
|
},
|
|
"resolutions": {
|
|
"dns-over-http-resolver": "^2.1.1",
|
|
"loupe": "^2.3.6",
|
|
"elliptic": ">=6.6.1"
|
|
}
|
|
}
|