-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 3.26 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
{
"name": "starcoder",
"displayName": "StarCoder",
"description": "Get completions from StarCoder model",
"version": "1.0.1",
"icon": "assets/icon.png",
"keywords": [
"code-suggestion",
"copilot",
"code-inference"
],
"repository": {
"url": "https://github.com/hugoch/vscode-starcoder"
},
"license": "MIT",
"publisher": "Hugo Larcher",
"engines": {
"vscode": "^1.70.0"
},
"bugs": {
"url": "https://github.com/hugoch/vscode-starcoder"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"author": {
"name": "Hugo Larcher",
"url": "https://github.com/hugoch/vscode-starcoder"
},
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "starcoder.enable",
"shortTitle": "Enable StarCoder",
"title": "Enable StarCoder"
},
{
"command": "starcoder.disable",
"title": "Disable StarCoder",
"shortTitle": "Disable StarCoder"
}
],
"configuration": {
"title": "StarCoder",
"properties": {
"starcoder.endpoint": {
"type": "string",
"default": "",
"description": "A private inference server endpoint. If not set, extension uses Hugging Face inference endpoint."
},
"starcoder.huggingFaceToken": {
"type": "string",
"default": "",
"description": "A HuggingFace hub token. Only needed when using Hugging Face endpoint."
},
"starcoder.maxTokens": {
"type": "number",
"default": 20
},
"starcoder.temperature": {
"type": "number",
"default": 0.1
},
"starcoder.maxLines": {
"type": "number",
"default": 100
},
"starcoder.suggestionDelay": {
"type": "number",
"default": 120
},
"starcoder.enabled": {
"type": "boolean",
"default": true,
"description": "Activate/Deactivate StarCoder auto-completions."
},
"starcoder.inlineCompletion": {
"type": "boolean",
"default": true
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"vscode:package": "npm exec vsce package",
"vscode:publish": "npm exec vsce publish"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"@types/uuid": "^9.0.2",
"@types/vscode": "^1.70.0",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"@vscode/test-electron": "^2.1.5",
"@vscode/vsce": "^2.18.0",
"eslint": "^8.20.0",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"ts-loader": "^9.3.1",
"typescript": "^4.7.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
},
"dependencies": {
"axios": "^1.4.0",
"uuid": "^9.0.0"
}
}