forked from arjun-g/vs-swagger-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
126 lines (126 loc) · 3.07 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
{
"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": "2.2.2",
"publisher": "Arjun",
"engines": {
"vscode": "^1.25.0"
},
"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 ./",
"update-vscode": "node ./node_modules/vscode/bin/install",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"contributes": {
"commands": [
{
"command": "extension.previewSwagger",
"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": 9000,
"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": "extension.previewSwagger",
"key": "shift+alt+p",
"mac": "shift+alt+p",
"when": "editorTextFocus"
}
],
"menus": {
"explorer/context": [
{
"when": "resourceLangId == json",
"command": "extension.previewSwagger",
"group": "SwaggerViewer"
},
{
"when": "resourceLangId == yaml",
"command": "extension.previewSwagger",
"group": "SwaggerViewer"
},
{
"when": "resourceLangId == yml",
"command": "extension.previewSwagger",
"group": "SwaggerViewer"
}
]
}
},
"devDependencies": {
"@types/express": "^4.16.0",
"@types/js-yaml": "^3.11.2",
"@types/node": "^10.5.5",
"@types/socket.io": "^1.4.36",
"@types/swagger-parser": "^4.0.3",
"typescript": "^3.3.4000",
"vscode": "^1.1.18"
},
"dependencies": {
"express": "^4.16.3",
"js-yaml": "^3.12.0",
"socket.io": "^2.1.1",
"swagger-parser": "^6.0.5",
"swagger-ui-dist": "^3.22.0",
"vscode-languageclient": "^4.1.4",
"vscode-languageserver": "^4.4.2"
},
"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"
}
}