forked from pierceboggan/prompt-lsp
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
123 lines (123 loc) · 3.59 KB
/
Copy pathpackage.json
File metadata and controls
123 lines (123 loc) · 3.59 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
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "chat-customizations-evaluations",
"version": "1.0.0",
"publisher": "chat-customizations-evaluations",
"displayName": "Chat Customizations Evaluations",
"description": "Language Server Protocol implementation for analyzing, validating, and improving AI prompts",
"main": "./client/out/extension.js",
"categories": [
"Linters",
"Programming Languages"
],
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"bundle": "npm run bundle:server && npm run bundle:client",
"bundle:server": "tsc -p ./ && esbuild ./out/server.js --bundle --outfile=./out/server.bundled.js --platform=node --format=cjs && mv ./out/server.bundled.js ./out/server.js",
"bundle:client": "cd client && tsc -p ./ && esbuild ./out/extension.js --bundle --outfile=./out/extension.bundled.js --platform=node --format=cjs --external:vscode && mv ./out/extension.bundled.js ./out/extension.js",
"build": "npm run compile && cd client && npm run compile",
"build:all": "npm run compile && cd client && npm install && npm run compile",
"test": "vitest run",
"lint": "eslint src && cd client && npx eslint src",
"clean": "rm -rf out && cd client && rm -rf out",
"package": "npm run bundle && vsce package --no-dependencies",
"preinstall": "cd client && npm install"
},
"keywords": [
"lsp",
"language-server",
"ai",
"prompt",
"llm",
"prompt-engineering"
],
"author": "",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode-prompt-lsp"
},
"engines": {
"vscode": "^1.90.0"
},
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"languages": [
{
"id": "prompt",
"aliases": [
"AI Prompt",
"prompt"
],
"extensions": [
".prompt.md",
".agent.md",
".prompt"
],
"configuration": "./client/language-configuration.json"
}
],
"grammars": [
{
"language": "prompt",
"scopeName": "text.prompt",
"path": "./client/syntaxes/prompt.tmLanguage.json"
}
],
"configuration": {
"type": "object",
"title": "Chat Customizations Evaluations",
"properties": {
"chatCustomizationsEvaluations.enable": {
"type": "boolean",
"default": true,
"description": "Enable/disable the Chat Customizations Evaluations extension"
},
"chatCustomizationsEvaluations.trace.server": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server"
}
}
},
"commands": [
{
"command": "chatCustomizationsEvaluations.analyzePrompt",
"title": "Analyze Prompt",
"category": "Chat Customizations Evaluations",
"icon": "$(beaker)"
}
],
"menus": {
"editor/title": [
{
"command": "chatCustomizationsEvaluations.analyzePrompt",
"group": "navigation",
"when": "editorLangId == prompt"
}
]
}
},
"dependencies": {
"vscode-languageclient": "^9.0.1",
"vscode-languageserver": "^9.0.1",
"vscode-languageserver-textdocument": "^1.0.12",
"yaml": "^2.8.2"
},
"devDependencies": {
"@eslint/js": "^9.39.2",
"@types/node": "^25.1.0",
"esbuild": "^0.25.0",
"eslint": "^9.39.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.55.0",
"vitest": "^4.0.18"
}
}