-
Notifications
You must be signed in to change notification settings - Fork 48
/
package.json
133 lines (133 loc) · 3.51 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"name": "swagger-viewer",
"displayName": "Swagger Viewer",
"description": "Swagger Viewer lets you preview and validate Swagger 2.0 and OpenAPI files as you type in Visual Studio Code.",
"icon": "static/images/logo.png",
"galleryBanner": {
"color": "#4a4a4a",
"theme": "dark"
},
"license": "SEE LICENSE IN LICENSE.md",
"version": "3.1.2",
"publisher": "Arjun",
"engines": {
"vscode": "^1.57.1"
},
"extensionDependencies": [
"redhat.vscode-yaml"
],
"categories": [
"Other"
],
"keywords": [
"swagger",
"openapi",
"api",
"api documentation",
"json",
"yaml"
],
"activationEvents": [
"onLanguage:yaml",
"onLanguage:json",
"onLanguage:plaintext"
],
"main": "./out/index",
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./"
},
"contributes": {
"commands": [
{
"command": "swagger.preview",
"title": "Preview Swagger"
}
],
"configuration": {
"type": "object",
"title": "Swagger Viewer Configuration",
"properties": {
"swaggerViewer.defaultHost": {
"type": "string",
"default": "localhost",
"description": "Default host in which the preview should be opened."
},
"swaggerViewer.defaultPort": {
"type": "integer",
"default": 18512,
"description": "Default port in which the preview should be opened."
},
"swaggerViewer.previewInBrowser": {
"type": "boolean",
"default": false,
"description": "Whether to open preview in browser, default: preview inside vscode"
},
"swaggerViewer.showOnlyFileName": {
"type": "boolean",
"default": false,
"description": "Whether to show only the filename in the preview title, default: show filename along with path"
}
}
},
"keybindings": [
{
"command": "swagger.preview",
"key": "shift+alt+p",
"mac": "shift+alt+p",
"when": "editorTextFocus"
}
],
"menus": {
"explorer/context": [
{
"when": "resourceLangId == json",
"command": "swagger.preview",
"group": "SwaggerViewer"
},
{
"when": "resourceLangId == yaml",
"command": "swagger.preview",
"group": "SwaggerViewer"
},
{
"when": "resourceLangId == yml",
"command": "swagger.preview",
"group": "SwaggerViewer"
}
]
},
"jsonValidation": [
{
"fileMatch": "*.json",
"url": "./schema.json"
}
]
},
"devDependencies": {
"@types/express": "^4.17.6",
"@types/js-yaml": "^3.12.3",
"@types/node": "^13.13.5",
"@types/socket.io": "^2.1.4",
"@types/swagger-parser": "^7.0.1",
"@types/vscode": "^1.57.1",
"typescript": "^3.8.3"
},
"dependencies": {
"express": "^4.17.1",
"js-yaml": "^4.1.0",
"portfinder": "^1.0.28",
"socket.io": "^4.1.2",
"swagger-parser": "^10.0.2",
"swagger-ui-dist": "^3.51.1",
"utf-8-validate": "^5.0.5"
},
"bugs": {
"url": "https://github.com/arjun-g/vs-swagger-viewer/issues"
},
"homepage": "https://github.com/arjun-g/vs-swagger-viewer/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/arjun-g/vs-swagger-viewer.git"
}
}