-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
31 lines (31 loc) · 1.37 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"version": "0.6.19",
"private": true,
"type": "module",
"scripts": {
"format": "prettier ./schemas/registry.schema.json ./registry/**/*.json ./src/**/*.ts ./**/*.md --write",
"format:check": "prettier ./schemas/registry.schema.json ./registry/**/*.json ./src/**/*.ts ./**/*.md --check",
"validate:schema": "bun run ./src/validate_schema.ts",
"validate:networks": "bun run ./src/validate.ts",
"validate:registry": "ajv validate -s schemas/registry.schema.json -d 'dist/TheGraphNetworksRegistry.json' --strict=true -c ajv-formats",
"validate:urls": "bun run ./src/validate_urls.ts",
"validate:firehose": "bun run ./src/validate_firehose.ts",
"validate": "bun validate:schema && bun validate:networks",
"generate:types": "json2ts --input schemas/registry.schema.json --output src/types/registry.d.ts --cwd=schemas",
"generate:registry": "bun run ./src/generate.ts",
"generate:public": "bun run ./src/generate.ts registry public",
"generate:table": "bun run ./src/generate_table.ts",
"all": "bun generate:types && bun validate && bun generate:registry && bun format && bun format:check"
},
"devDependencies": {
"@types/bun": "^1.1.14",
"ajv": "^8.17.1",
"ajv-cli": "^5.0.0",
"ajv-formats": "^3.0.1",
"json-schema-to-typescript": "15.0.3",
"prettier": "3.4.1"
},
"dependencies": {
"wrangler": "3.90.0"
}
}