-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
78 lines (78 loc) · 1.88 KB
/
package.json
File metadata and controls
78 lines (78 loc) · 1.88 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
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
{
"name": "openapi-visual-editor",
"displayName": "OpenAPI Visual Editor",
"description": "A graphical editor for OpenAPI/Swagger YAML specifications",
"version": "1.8.0",
"publisher": "MarcoMinucci",
"icon": "icon.png",
"repository": {
"type": "git",
"url": "https://github.com/Kariamos/openapi-visual-editor.git"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other",
"Visualization"
],
"keywords": [
"openapi",
"swagger",
"yaml",
"rest",
"api"
],
"activationEvents": [
"onLanguage:yaml",
"onLanguage:json"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "openapi-visual-editor.openVisualEditor",
"title": "Open Visual Editor",
"icon": "$(eye)"
}
],
"menus": {
"editor/title": [
{
"command": "openapi-visual-editor.openVisualEditor",
"when": "resourceExtname == .yml || resourceExtname == .yaml",
"group": "navigation"
}
]
}
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"package": "vsce package",
"build:webview": "cd webview && npm run build",
"build:all": "npm run build:webview && npm run compile",
"pretest": "npm run compile",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"postinstall": "patch-package"
},
"dependencies": {
"@stoplight/spectral-core": "^1.21.0",
"@stoplight/spectral-rulesets": "^1.22.0",
"js-yaml": "^4.1.0",
"yaml": "^2.8.3",
"yaml-diff-patch": "^2.0.0"
},
"devDependencies": {
"@types/js-yaml": "^4.0.9",
"@types/node": "^20.0.0",
"@types/vscode": "^1.85.0",
"@vitest/coverage-v8": "^4.1.4",
"@vscode/vsce": "^2.22.0",
"patch-package": "^8.0.1",
"typescript": "^5.3.0",
"vitest": "^4.1.4"
}
}