-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
34 lines (34 loc) · 1.57 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
{
"name": "metanomic-openapi",
"version": "0.1.1",
"description": "OpenAPI specifications for Metanomic",
"homepage": "https://github.com/Metanomic/openapi#readme",
"author": {
"email": "[email protected]",
"name": "Metanomic Engineering"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Metanomic/openapi.git"
},
"bugs": {
"url": "https://github.com/Metanomic/openapi/issues"
},
"scripts": {
"build": "swagger-cli bundle src/openapi.yaml --outfile _build/openapi.yaml --type yaml",
"json": "swagger-cli bundle -r src/openapi.yaml --outfile _build/spec.json --type json",
"test": "npm run build && spectral lint _build/openapi.yaml",
"serve": "npm run build && redoc-cli serve _build/openapi.yaml --options.onlyRequiredInSamples",
"html": "npm run build && redoc-cli bundle _build/openapi.yaml --output _build/index.html --options.onlyRequiredInSamples",
"contracts": "npm run build && openapi-generator generate -i _build/openapi.yaml -g protobuf-schema -o _build/contracts",
"python": "npm run build && openapi-generator generate -i _build/openapi.yaml -g python-flask -o _build/openapi --invoker-package openapi --artifact-id openapi --api-package openapi",
"clean": "rm -r _build",
"deploy": "./ci/deploy.sh"
},
"dependencies": {
"@apidevtools/swagger-cli": "^4.0.4",
"@openapitools/openapi-generator-cli": "^2.4.26",
"@stoplight/spectral-cli": "^6.3.0",
"redoc-cli": "^0.13.10"
}
}