forked from pinax-network/supported-networks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
29 lines (29 loc) · 1.2 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
{
"version": "0.2.11",
"private": true,
"type": "module",
"scripts": {
"test": "bun test",
"format": "prettier \"./**/*.+(ts|json|md)\" --write",
"format:check": "prettier \"./**/*.+(ts|json|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": "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",
"all": "bun generate:types && bun validate && bun generate:registry && bun format && bun format:check"
},
"devDependencies": {
"@types/bun": "1",
"ajv": "^8.17.1",
"ajv-cli": "^5.0.0",
"ajv-formats": "^3.0.1",
"json-schema-to-typescript": "^15.0.2",
"prettier": "^3.3.3",
"prettier-plugin-multiline-arrays": "^3.0.6",
"wrangler": "3.81.0"
}
}