-
-
Notifications
You must be signed in to change notification settings - Fork 37
/
package.json
126 lines (126 loc) · 3.29 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": "asyncapi-preview",
"displayName": "asyncapi-preview",
"description": "Preview AsyncAPI documents inside VSCode.",
"version": "0.6.5",
"icon": "asyncapi-logo.png",
"galleryBanner": {
"color": "#4a4a4a",
"theme": "dark"
},
"license": "Apache-2.0",
"publisher": "asyncapi",
"author": {
"name": "Iván García Sainz-Aja",
"email": "[email protected]",
"url": "https://github.com/ivangsa"
},
"bugs": {
"url": "https://github.com/asyncapi/vs-asyncapi-preview/issues"
},
"homepage": "https://github.com/asyncapi/vs-asyncapi-preview/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/asyncapi/vs-asyncapi-preview.git"
},
"engines": {
"vscode": "^1.66.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:yml",
"onLanguage:yaml",
"onLanguage:json",
"onCommand:asyncapi.preview"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "asyncapi.preview",
"title": "Preview AsyncAPI",
"icon": {
"light": "resources/icons/open-preview_black.svg",
"dark": "resources/icons/open-preview_white.svg"
}
},
{
"command": "asyncapi.paste",
"title": "AsyncAPI: Paste as Schema"
}
],
"snippets": [
{
"language": "yaml",
"path": "./snippets/snippets.json"
}
],
"menus": {
"editor/title": [
{
"when": "(resourceLangId == json || resourceLangId == yaml) && asyncapi.isAsyncAPI",
"command": "asyncapi.preview",
"group": "navigation"
},
{
"when": "(resourceLangId == json || resourceLangId == yaml) && asyncapi.isAsyncAPI",
"command": "asyncapi.preview"
}
],
"commandPalette": [
{
"command": "asyncapi.preview"
}
],
"editor/context": [
{
"when": "(resourceLangId == json || resourceLangId == yaml) && asyncapi.isAsyncAPI",
"command": "asyncapi.paste",
"group": "9_cutcopypaste@5"
}
],
"keybindings": [
{
"command": "asyncapi.paste",
"key": "Ctrl+V",
"linux": "Ctrl+Shift+V",
"mac": "Cmd+V",
"when": "editorTextFocus"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"lint": "eslint src --ext ts",
"test": "",
"generate:assets": "",
"bump:version": "npm --no-git-tag-version --allow-same-version version $VERSION"
},
"devDependencies": {
"@asyncapi/react-component": "^2.3.2",
"@types/glob": "^7.2.0",
"@types/js-yaml": "^4.0.5",
"@types/mocha": "^9.1.1",
"@types/node": "14.x",
"@types/vscode": "^1.66.0",
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"@vscode/test-electron": "^2.1.3",
"ajv": "^8.11.0",
"copy-webpack-plugin": "^10.2.4",
"eslint": "^8.14.0",
"genson-js": "0.0.8",
"glob": "^8.0.1",
"mocha": "^9.2.2",
"ts-loader": "^9.2.8",
"typescript": "^4.6.4",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2"
}
}