-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.55 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 2.55 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
{
"name": "flowriter",
"displayName": "flowriter",
"description": "A simple VS Code extension.",
"publisher": "Tricrepe",
"repository": "https://github.com/CestcaVision/flowriter.git",
"version": "0.0.3",
"icon": "images/logo.png",
"engines": {
"vscode": "^1.93.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:typescript",
"onLanguage:javascript",
"onLanguage:python",
"onLanguage:html",
"onLanguage:css",
"onLanguage:json",
"onLanguage:markdown"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "flowriter.helloWorld",
"title": "Hello World"
},
{
"command": "flowriter.getDefinitionCommand",
"title": "flowriter: Get Definition"
},
{
"command": "flowriter.getTranslationCommand",
"title": "flowriter: Get Translation"
}
],
"configuration": {
"title": "flowriter",
"properties": {
"flowriter.apiKey": {
"type": "string",
"default": "",
"description": "API Key for the LLM service."
},
"flowriter.modelName": {
"type": "string",
"default": "",
"description": "The model name to use for the LLM API."
},
"flowriter.apiEndpoint": {
"type": "string",
"default": "https://api.example.com/v1/chat/completions",
"description": "The API endpoint for the LLM service."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run check-types && npm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run check-types && npm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@types/vscode": "^1.93.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"esbuild": "^0.25.9",
"eslint": "^9.9.1",
"npm-run-all": "^4.1.5",
"typescript": "^5.5.4"
},
"dependencies": {
"openai": "^5.12.2"
}
}