forked from hieunc229/copilot-clone
-
Notifications
You must be signed in to change notification settings - Fork 48
/
package.json
86 lines (86 loc) · 2.51 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
{
"name": "code-clippy",
"displayName": "Code Clippy",
"description": "Your friendly neighborhood Clippy, ready to help you with all your code needs :D!",
"version": "0.0.1",
"publisher": "ncoop57",
"icon": "code_clippy_logo.jpg",
"repository": "https://github.com/ncoop57/gpt-code-clippy/",
"engines": {
"vscode": "^1.34.0"
},
"license": "MIT",
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "extension.code-clippy-settings",
"title": "Code Clippy Settings"
}
],
"configuration": {
"title": "Code Clippy Configuration",
"properties": {
"conf.resource.useFauxPilot": {
"type": "boolean",
"default": false,
"description": "Whether to use Faux Pilo: https://github.com/moyix/fauxpilot",
"scope": "resource"
},
"conf.resource.hfModelName": {
"type": "string",
"default": "flax-community/gpt-neo-125M-code-clippy-dedup-2048",
"description": "Model name that will be used to generate the completions.",
"scope": "resource"
},
"conf.resource.hfAPIKey": {
"type": "string",
"default": "<API_KEY>",
"description": "API key for using Huggingface's Inference API: https://api-inference.huggingface.co/docs/node/html/quicktour.html",
"scope": "resource"
},
"conf.resource.useGPU": {
"type": "boolean",
"default": false,
"description": "Whether to use GPU for faster completions. Must have Startup plan at a minimum.",
"scope": "resource"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile && npm run esbuild-base -- --minify",
"compile": "tsc -p ./",
"lint": "eslint . --ext .ts,.tsx",
"watch": "tsc -watch -p ./",
"download-api": "vscode-dts dev",
"postdownload-api": "vscode-dts main",
"postinstall": "npm run download-api",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.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": "^12.12.0",
"@types/node-fetch": "^2.5.10",
"@typescript-eslint/eslint-plugin": "^4.16.0",
"@typescript-eslint/parser": "^4.16.0",
"esbuild": "^0.15.5",
"eslint": "^7.21.0",
"typescript": "^4.2.2",
"vscode-dts": "^0.3.1"
},
"dependencies": {
"@types/jsdom": "^16.2.12",
"jsdom": "^16.6.0",
"node-fetch": "^2.6.1",
"openai": "^3.0.0"
}
}