-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
150 lines (150 loc) · 4.61 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
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "impromptu",
"displayName": "impromptu",
"description": "A domain-specific language for prompt engineering.",
"version": "1.0.0",
"engines": {
"vscode": "^1.56.0"
},
"publisher": "SOMResearchGroup",
"author": {
"name": "Robert Clarisó"
},
"homepage": "https://github.com/SOM-Research/Impromptu",
"repository": {
"type": "git",
"url": "https://github.com/SOM-Research/Impromptu"
},
"keywords": [
"Generative AI",
"Model-Driven Engineering",
"LLM",
"DSL"
],
"categories": [
"Programming Languages"
],
"contributes": {
"languages": [
{
"id": "impromptu",
"aliases": [
"Impromptu",
"impromptu"
],
"extensions": [
".prm"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "impromptu",
"scopeName": "source.impromptu",
"path": "./syntaxes/impromptu.tmLanguage.json"
}
],
"commands": [
{
"command": "impromptu.generateChatGPT",
"title": "Generate ChatGPT Python code",
"shortTitle": "Generate ChatGPT code",
"category": "Impromptu",
"icon": {
"light": "icons/chatgpt-logo.png",
"dark": "icons/chatgpt-logo.png"
}
},
{
"command": "impromptu.generateStableDiffusion",
"title": "Generate Stable Diffusion Python code",
"shortTitle": "Generate SD code",
"category": "Impromptu",
"icon": {
"light": "icons/sd-logo.png",
"dark": "icons/sd-logo.png"
}
},
{
"command": "impromptu.saveCodeDocument",
"title": "Save Python code",
"shortTitle": "Save Python code",
"category": "Impromptu",
"icon": {
"light": "icons/download.png",
"dark": "icons/download.png"
}
}
],
"menus": {
"editor/title": [
{
"when": "resourceLangId == impromptu",
"command": "impromptu.generateChatGPT",
"group": "navigation"
},
{
"when": "resourceLangId == impromptu",
"command": "impromptu.generateStableDiffusion",
"group": "navigation"
},
{
"when": "liveCodePreviewer",
"command": "impromptu.saveCodeDocument",
"group": "navigation"
}
]
}
},
"activationEvents": [
"onLanguage:impromptu"
],
"files": [
"bin",
"out",
"src"
],
"bin": {
"impromptu-cli": "./bin/cli"
},
"main": "./out/extension.js",
"scripts": {
"build": "tsc -b tsconfig.json",
"watch": "tsc -b tsconfig.json --watch",
"lint": "eslint src --ext ts",
"langium:generate": "langium generate",
"langium:watch": "langium generate --watch",
"vscode:prepublish": "npm run esbuild-base -- --minify",
"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 ./",
"test": "vitest"
},
"dependencies": {
"chalk": "~4.1.2",
"chevrotain": "~10.4.2",
"commander": "~8.3.0",
"csv-parser": "~3.0.0",
"express": "~4.21.1",
"langium": "~1.0.0",
"vscode-languageclient": "~8.1.0",
"vscode-languageserver": "~8.1.0",
"vscode-uri": "~3.0.2"
},
"devDependencies": {
"@types/node": "~18.0.0",
"@types/vscode": "~1.56.0",
"@typescript-eslint/eslint-plugin": "~5.28.0",
"@typescript-eslint/parser": "~5.28.0",
"esbuild": "~0.17.19",
"eslint": "~8.17.0",
"langium-cli": "~1.0.0",
"save": "~2.9.0",
"typescript": "~4.9.5",
"vitest": "~2.1.1",
"webpack": "~5.96.1",
"webpack-cli": "~5.0.1"
}
}