-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
95 lines (95 loc) · 2.35 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
{
"name": "ollamamodelfile",
"displayName": "Ollama Modelfile",
"description": "Language extension for Ollama Modelfiles",
"version": "0.0.18",
"publisher": "technovangelist",
"repository": {
"type": "git",
"url": "https://github.com/technovangelist/OllamaModelFile-VSCodeExtension"
},
"engines": {
"vscode": "^1.81.0"
},
"main": "./out/extension.js",
"activationEvents": [
"workspaceContains:modelfile",
"onStartupFinished"
],
"categories": [
"Programming Languages"
],
"contributes": {
"themes": [
{
"label": "Ollama Modelfile",
"uiTheme": "hc-light",
"path": "./ollama-modelfile-color-theme.json"
}
],
"languages": [
{
"id": "modelfile",
"aliases": [
"Ollama Modelfile",
"modelfile"
],
"filenamePatterns": [
"*.modelfile",
"Modelfile",
"Modelfile.*"
],
"configuration": "./language-configuration.json"
}
],
"snippets": [
{
"language": "modelfile",
"path": "./snippets.json"
}
],
"grammars": [
{
"scopeName": "source.modelfile",
"language": "modelfile",
"path": "./syntaxes/modelfile.tmLanguage.json"
}
],
"commands": [
{
"command": "ollamamodelfile.createModel",
"title": "Create Model",
"category": "Ollama Modelfile"
},
{
"command": "ollamamodelfile.runModel",
"title": "Run a Model",
"category": "Ollama Modelfile"
},
{
"command": "ollamamodelfile.runModelVerbose",
"title": "Run a Model with Verbose",
"category": "Ollama Modelfile"
}
]
},
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./"
},
"devDependencies": {
"@types/node": "^20.4.9",
"@types/node-fetch": "^2.6.4",
"@types/vscode": "^1.81.0",
"esbuild": "^0.19.0"
},
"dependencies": {
"axios": "^1.6.0",
"node-fetch": "^2.6.12",
"ollama-node": "^0.1.24",
"path": "^0.12.7"
}
}