This repository was archived by the owner on Apr 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 2.53 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 2.53 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "starcoderex",
"displayName": "StarCoderEx (AI code generator)",
"description": "Extension for using alternative GitHub Copilot (StarCoder API) in VSCode",
"repository": "https://github.com/Lisoveliy/starcoderex",
"icon": "logo.png",
"version": "1.0.5",
"publisher": "Lisoveliy",
"engines": {
"vscode": "^1.67.0"
},
"categories": [
"Other",
"Formatters",
"Machine Learning",
"Programming Languages",
"Snippets"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"menus": {
"commandPalette": [
{
"command": "starcoderex.ScanSelPrompt",
"group": "StarCoderEx"
},
{
"command": "starcoderex.TokenScreen",
"group": "StarCoderEx"
}
]
},
"commands": [
{
"command": "starcoderex.ScanSel",
"title": "Init prompt with selected code",
"category": "StarCoderEx"
},
{
"command": "starcoderex.ScanSelPrompt",
"title": "Init prompt with selected code",
"category": "StarCoderEx"
},
{
"command": "starcoderex.TokenScreen",
"title": "Enter new token",
"category": "StarCoderEx"
}
],
"keybindings": [
{
"command": "starcoderex.ScanSel",
"key": "ctrl+alt+p"
}
],
"configuration": [
{
"title": "StarCoderEx",
"properties": {
"starcoderex.countofrequests": {
"type": "integer",
"default": 4
},
"starcoderex.bearertoken": {
"type": "string",
"default": ""
},
"starcoderex.apiurl":{
"type": "string",
"default": "https://api-inference.huggingface.co/models/bigcode/starcoder"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.67.0",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"@vscode/test-electron": "^2.3.0",
"eslint": "^8.39.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^5.0.4"
},
"dependencies": {
"@types/node-fetch": "^2.6.3",
"node-fetch": "^2.6.3"
}
}