-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
43 lines (43 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
32
33
34
35
36
37
38
39
40
41
42
43
{
"name": "@blockfrost/openapi",
"version": "0.1.69",
"description": "OpenAPI specifications for blockfrost.io",
"repository": "[email protected]:blockfrost/openapi.git",
"author": "[email protected]",
"main": "lib/index.js",
"files": [
"lib/**/*",
"openapi.yaml",
"json-schema.json"
],
"scripts": {
"prepublish": "yarn build",
"build": "rimraf lib && yarn tsc && yarn bundle && yarn generate-types && yarn generate-json-schema",
"copy-spec": "cp ./openapi.yaml ./docs/blockfrost-openapi.yaml",
"lint": "scalar validate ./src/definitions.yaml",
"bundle": "yarn redocly bundle -o ./blockfrost-openapi.yaml src/definitions.yaml && yarn openapi-merge-cli && yarn copy-spec",
"generate-types": "yarn openapi-typescript ./openapi.yaml --output ./src/generated-types.ts",
"generate-json-schema": "node lib/scripts/generate-json-schema.js > json-schema.json",
"test": "vitest",
"coverage": "vitest run --coverage"
},
"devDependencies": {
"@redocly/cli": "1.5.0",
"@scalar/cli": "^0.2.91",
"@vitest/coverage-v8": "2.0.4",
"openapi-merge-cli": "^1.3.1",
"openapi-typescript": "7.4.0",
"typescript": "^5.3.2",
"vitest": "2.0.4"
},
"dependencies": {
"ajv": "^8.12.0",
"cbor": "^9.0.1",
"rimraf": "6.0.1",
"yaml": "^2.3.4"
},
"packageManager": "[email protected]",
"engines": {
"node": ">=20"
}
}