-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.21 KB
/
package.json
File metadata and controls
49 lines (49 loc) · 1.21 KB
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
44
45
46
47
48
49
{
"name": "swagger-openapi-sample",
"version": "1.0.0",
"description": "A Swagger UI project that displays API documentation from an OpenAPI YAML specification, optimized for Netlify deployment",
"main": "index.html",
"scripts": {
"start": "npx http-server . -p 3000 -c-1 --cors",
"dev": "npx http-server . -p 3000 -c-1 --cors -o",
"validate": "npx swagger-parser validate openapi.yaml",
"lint": "npx yaml-lint openapi.yaml",
"serve": "npx http-server . -p 8080 -c-1 --cors"
},
"keywords": [
"swagger",
"openapi",
"api-documentation",
"swagger-ui",
"static-site",
"api-docs"
],
"author": "alokbash",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/alokbash/swagger-openapi-sample.git"
},
"homepage": "https://swagger-sample.netlify.app/",
"bugs": {
"url": "https://github.com/alokbash/swagger-openapi-sample/issues"
},
"devDependencies": {
"http-server": "^14.1.1",
"swagger-parser": "^10.0.3",
"yaml-lint": "^1.7.0"
},
"engines": {
"node": ">=16.0.0"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
],
"files": [
"index.html",
"openapi.yaml",
"README.md"
]
}