Skip to content

Commit f303301

Browse files
committed
rationalize package.json
1 parent 11a9b3d commit f303301

File tree

2 files changed

+16
-38
lines changed

2 files changed

+16
-38
lines changed

package-lock.json

Lines changed: 10 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@
66
"scripts": {
77
"build": "npm run build:spec",
88
"build:spec": "node scripts/build.js",
9+
"build:test": "which go > /dev/null 2>&1 || (echo 'Error: Go binary not found. Please install Go first.' && exit 1) && go install github.com/lightclient/rpctestgen/cmd/speccheck@latest",
910
"build:docs": "npm run generate-clients && npm run build:docs:gatsby",
1011
"build:docs:gatsby": "cp README.md docs/reference/quickstart.md && cd build/docs/gatsby && npm install && gatsby build --prefix-paths",
1112
"lint": "node scripts/build.js && node scripts/validate.js && node scripts/graphql-validate.js",
1213
"clean": "rm -rf build && mkdir -p build",
1314
"generate-clients": "mkdir -p build && open-rpc-generator generate -c open-rpc-generator-config.json",
1415
"graphql:schema": "node scripts/graphql.js",
1516
"graphql:validate": "node scripts/graphql-validate.js",
16-
"serve": "cd build/docs/gatsby && gatsby develop"
17+
"serve": "cd build/docs/gatsby && gatsby develop",
18+
"test": "speccheck -v"
1719
},
1820
"repository": {
1921
"type": "git",
@@ -26,24 +28,17 @@
2628
},
2729
"type": "module",
2830
"homepage": "https://github.com/ethereum/execution-apis#readme",
29-
"devDependencies": {
31+
"dependencies": {
32+
"@mdx-js/react": "~3.0.0",
3033
"@graphql-inspector/core": "~3.3.0",
3134
"@open-rpc/generator": "^2.1.0",
3235
"@open-rpc/schema-utils-js": "^2.1.2",
3336
"gatsby": "^5.14.3",
34-
"gh-pages": "~4.0.0",
3537
"graphql": "~16.3.0",
3638
"graphql-request": "~4.1.0",
3739
"js-yaml": "~4.1.0",
3840
"json-schema-merge-allof": "~0.8.1",
39-
"remark-gfm": "^4.0.1",
41+
"remark-gfm": "~4.0.1",
4042
"typescript": "~5.6.2"
41-
},
42-
"dependencies": {
43-
"@mdx-js/react": "^3.0.0",
44-
"clsx": "^2.0.0",
45-
"prism-react-renderer": "^2.3.0",
46-
"react": "^18.0.0",
47-
"react-dom": "^18.0.0"
4843
}
4944
}

0 commit comments

Comments
 (0)