forked from actions/languageservices
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 3.04 KB
/
package.json
File metadata and controls
111 lines (111 loc) · 3.04 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
103
104
105
106
107
108
109
110
111
{
"name": "lsp-sample",
"description": "A language server example",
"author": "Microsoft Corporation",
"license": "MIT",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-extension-samples"
},
"publisher": "vscode-samples",
"categories": [],
"keywords": [
"multi-root ready"
],
"engines": {
"vscode": "^1.75.0"
},
"activationEvents": [
"onLanguage:yaml"
],
"main": "./client/out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Example configuration",
"properties": {
"languageServerExample.maxNumberOfProblems": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
},
"languageServerExample.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
},
"languageServerExample.llm.primaryModel": {
"scope": "resource",
"type": "string",
"default": "deepseek/deepseek-chat-v3.1:free",
"description": "Primary LLM model for LSP operations."
},
"languageServerExample.llm.fallbackModels": {
"scope": "resource",
"type": "array",
"items": {
"type": "string"
},
"default": [
"qwen/qwen3-coder:free",
"deepseek/deepseek-r1-0528-qwen3-8b:free"
],
"description": "Fallback models for LSP operations."
}
}
},
"commands": [
{
"command": "extension.generateYamlScript",
"title": "Generate Yaml Script",
"category": "LSP"
},
{
"command": "extension.refineYamlScript",
"title": "Refine Yaml Script",
"category": "LSP"
},
{
"command": "extension.testYamlScript",
"title": "Test Yaml Script",
"category": "LSP"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"lint": "eslint",
"lint:fix": "eslint --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"test:client": "sh ./scripts/e2e.sh",
"test:server": "cd server && mocha --ui tdd 'out/test/**/*.test.js' && cd .."
},
"devDependencies": {
"@eslint/js": "^9.13.0",
"@stylistic/eslint-plugin": "^2.9.0",
"@types/mocha": "^10.0.6",
"@types/node": "^20",
"eslint": "^9.13.0",
"eslint-config-prettier": "^10.1.8",
"mocha": "^10.3.0",
"prettier": "^3.6.2",
"typescript": "^5.8.2",
"typescript-eslint": "^8.26.0"
},
"dependencies": {
"dotenv": "^16.4.7",
"yaml": "^2.7.1"
}
}