forked from dgarcia360/openapi-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
28 lines (28 loc) · 1.02 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
{
"name": "openapi-boilerplate",
"version": "0.1.1",
"description": "Multi-file boilerplate for Open API Specification.",
"main": "index.js",
"scripts": {
"build": "swagger-cli bundle src/openapi.yaml --outfile _build/openapi.yaml --type yaml",
"test": "npm run build && spectral lint _build/openapi.yaml",
"preview": "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",
"clean": "rm -r _build",
"deploy": "./ci/deploy.sh"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dgarcia360/openapi-boilerplate.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/dgarcia360/openapi-boilerplate/issues"
},
"homepage": "https://github.com/dgarcia360/openapi-boilerplate#readme",
"dependencies": {
"@apidevtools/swagger-cli": "^4.0.4",
"@stoplight/spectral": "^6.5.0",
"redoc-cli": "^0.13.20"
}
}