-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
303 lines (303 loc) · 8.38 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
{
"name": "bentoml",
"publisher": "mlops-club",
"version": "0.1.0",
"displayName": "BentoML",
"icon": "src/resources/bentoml-logo.png",
"author": {
"email": "[email protected]",
"name": "MLOps Club"
},
"contributors": [
{
"name": "Eric Riddoch",
"url": "https://www.linkedin.com/in/eric-riddoch/"
},
{
"name": "Jay Cui",
"url": "https://www.linkedin.com/in/shilongjaycui/"
},
{
"name": "Mert Bozkir",
"url": "https://www.linkedin.com/in/mertbozkir/"
},
{
"name": "Noor Assi",
"url": "https://www.linkedin.com/in/noor-assi/"
},
{
"name": "Oguz Vuruskaner",
"url": "https://www.linkedin.com/in/oguz-vuruskaner-5969a8155"
}
],
"license": "Apache-2.0",
"description": "Manage bentos and models from VS Code. Get Autocompletion for bento config files.",
"repository": {
"type": "git",
"url": "https://github.com/mlops-club/vscode-bentoml.git"
},
"engines": {
"vscode": "^1.83.0"
},
"categories": [
"Data Science",
"Machine Learning"
],
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"yamlValidation": [
{
"fileMatch": [
"**/*bentofile.yaml",
"**/*bentofile.yml"
],
"url": "./src/resources/yamlSchemas/bentofileSchema.out.json"
},
{
"fileMatch": [
"**/*bento_config*.yaml",
"**/*bento_config*.yml"
],
"url": "./src/resources/yamlSchemas/bentoConfigurationSchema.out.json"
}
],
"configuration": {
"title": "BentoML Extension Configuration",
"properties": {
"bentoml.bentomlHomeDir": {
"type": "string",
"description": "Path to BentoML home directory. Defaults to `bentoml`",
"default": "bentoml"
}
}
},
"viewsContainers": {
"activitybar": [
{
"id": "bentoml-explorer",
"title": "BentoML Explorer",
"icon": "src/resources/bentoml-logo.svg"
}
]
},
"views": {
"bentoml-explorer": [
{
"id": "bentoml-models",
"name": "Models"
},
{
"id": "bentoml-bentos",
"name": "Bentos"
},
{
"id": "bentoml-serve",
"name": "Services"
}
]
},
"commands": [
{
"command": "bentoml.installPythonDependencies",
"title": "BentoML: Install Python Dependencies"
},
{
"command": "bentoml.serveBentoInTerminal",
"title": "BentoML: Serve Bento in new Terminal"
},
{
"command": "bentoml.openBentomlHomeDir",
"title": "BentoML: Open BentoML Home Directory in VS Code Workspace"
},
{
"command": "bentoml.refreshModelEntry",
"title": "BentoML: Refresh models",
"icon": "$(refresh)"
},
{
"command": "bentoml.refreshBentoEntry",
"title": "BentoML: Refresh Bentos",
"icon": "$(refresh)"
},
{
"command": "bentoml.refreshServeEntry",
"title": "BentoML: Refresh Serve",
"icon": "$(refresh)"
},
{
"command": "bentoml.openModelInBrowser",
"title": "View model in browser",
"icon": "$(link-external)"
},
{
"command": "bentoml.openBentoInBrowser",
"title": "View Bento in browser",
"icon": "$(link-external)"
},
{
"command": "bentoml.deleteModel",
"title": "Delete BentoML Model",
"icon": "$(remove)"
},
{
"command": "bentoml.viewBentos",
"title": "View BentoML Bento",
"icon": "$(eye)"
},
{
"command": "bentoml.viewModels",
"title": "View BentoML Model",
"icon": "$(eye)"
},
{
"command": "bentoml.deleteBento",
"title": "Delete BentoML Bento",
"icon": "$(remove)"
},
{
"command": "bentoml.copyValueToClipboard",
"title": "Copy value to clipboard"
},
{
"command": "bentoml.serve",
"title": "Serve Model",
"icon": "$(play)"
},
{
"command": "bentoml.containerizeBento",
"title": "Containerize Bento",
"icon": "$(primitive-square)"
}
],
"menus": {
"view/title": [
{
"command": "bentoml.refreshModelEntry",
"when": "view == bentoml-models",
"group": "navigation"
},
{
"command": "bentoml.refreshBentoEntry",
"when": "view == bentoml-bentos",
"group": "navigation"
},
{
"command": "bentoml.refreshServeEntry",
"when": "view == bentoml-serve",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "bentoml.openModelInBrowser",
"when": "view == bentoml-models && viewItem == top-level-bentoml-model-tree-item",
"group": "inline"
},
{
"command": "bentoml.openBentoInBrowser",
"when": "view == bentoml-bentos && viewItem == top-level-bentoml-bento-tree-item",
"group": "inline"
},
{
"command": "bentoml.viewBentos",
"when": "view == bentoml-bentos && viewItem == top-level-bentoml-bento-tree-item",
"group": "inline"
},
{
"command": "bentoml.viewModels",
"when": "view == bentoml-models && viewItem == top-level-bentoml-model-tree-item",
"group": "inline"
},
{
"command": "bentoml.deleteModel",
"when": "view == bentoml-models && viewItem == top-level-bentoml-model-tree-item",
"group": "inline"
},
{
"command": "bentoml.deleteBento",
"when": "view == bentoml-bentos && viewItem == top-level-bentoml-bento-tree-item",
"group": "inline"
},
{
"command": "bentoml.copyValueToClipboard",
"when": "view == bentoml-models && viewItem == top-level-bentoml-model-tree-item",
"group": "inline"
},
{
"command": "bentoml.serve",
"when": "view == bentoml-serve && viewItem == top-level-bentoml-serve-tree-item",
"group": "inline"
},
{
"command": "bentoml.containerizeBento",
"when": "view == bentoml-bentos && viewItem == top-level-bentoml-bento-tree-item",
"group": "inline"
}
]
}
},
"_moduleAliases": {
"@": "./src"
},
"scripts": {
"build": "vsce package",
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "rm -rf ./out/; tsc -p . && tsc-alias -p tsconfig.json",
"watch-tests": "rm -rf ./out/; tsc -p . -w && tsc-alias -p tsconfig.json",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts --fix",
"format": "prettier --write ./",
"test": "c8 node ./out/test/runTest.js",
"clean": "bash run.sh clean",
"install-python-deps": "pip install bentoml",
"serve-coverage-report": "python -m http.server --directory coverage/lcov-report/ 80"
},
"extensionDependencies": [
"ms-python.python",
"redhat.vscode-yaml"
],
"devDependencies": {
"@types/chai": "^4.3.14",
"@types/fs-extra": "^11.0.3",
"@types/js-yaml": "^4.0.9",
"@types/mocha": "^10.0.3",
"@types/node": "18.x",
"@types/sinon": "^17.0.3",
"@types/vscode": "^1.83.0",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"ajv": "^6.12.6",
"c8": "^8.0.1",
"chai": "^5.1.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.52.0",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"mocha-explorer-launcher-scripts": "^0.4.0",
"module-alias": "^2.2.3",
"prettier": "^3.1.0",
"sinon": "^17.0.1",
"source-map-support": "^0.5.21",
"ts-loader": "^9.5.0",
"ts-node": "^10.9.2",
"tsc-alias": "^1.8.8",
"typescript": "^5.2.2",
"vsce": "^1.97.0",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@vscode/test-electron": "^2.3.9",
"fs-extra": "^11.1.1",
"js-yaml": "^4.1.0"
}
}