forked from lark-parser/vscode-lark
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
187 lines (187 loc) · 5.81 KB
/
package.json
File metadata and controls
187 lines (187 loc) · 5.81 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
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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
{
"name": "vscode-lark-parser",
"displayName": "Lark",
"description": "Language support for Lark grammar files",
"version": "0.4.0",
"publisher": "dynova",
"keywords": [
"Lark Parser",
"Lark",
"Syntax"
],
"languageServerInfo": {
"name": "Lark Parser",
"module": "lark-parser",
"package": {
"name": "lark-parser-language-server",
"version": "0.3.0"
}
},
"license": "Apache-2.0",
"icon": "images/_lark_extension_icon.png",
"galleryBanner": {
"color": "#f3f4f6",
"theme": "light"
},
"repository": {
"type": "git",
"url": "https://github.com/dynovaio/lark-parser-vscode"
},
"bugs": {
"url": "https://github.com/dynovaio/lark-parser-vscode/issues"
},
"homepage": "https://github.com/dynovaio/lark-parser-vscode",
"engines": {
"node": ">=22.17.0",
"vscode": "^1.93.0"
},
"categories": [
"Programming Languages",
"Formatters"
],
"activationEvents": [
"onLanguage:markdown.lark.codeblock"
],
"main": "./dist/extension.js",
"contributes": {
"languages": [
{
"id": "lark",
"aliases": [
"Lark",
"lark"
],
"extensions": [
".lark"
],
"icon": {
"light": "images/_lark_file_icon_dark.svg",
"dark": "images/_lark_file_icon_light.svg"
},
"configuration": "./lark.configuration.json"
}
],
"grammars": [
{
"language": "lark",
"scopeName": "source.lark",
"path": "./syntaxes/lark.json"
},
{
"scopeName": "markdown.lark.codeblock",
"path": "./syntaxes/markdown-lark-codeblock.json",
"injectTo": [
"text.html.markdown"
],
"embeddedLanguages": {
"meta.embedded.block.lark": "lark"
}
}
],
"configuration": {
"type": "object",
"title": "Lark",
"properties": {
"lark.server.enabled": {
"type": "boolean",
"default": true,
"description": "Enable the Lark Parser Extension"
},
"lark.server.pythonPath": {
"type": "string",
"default": "",
"description": "Custom path to the python executable. Leave empty to use the bundled server."
},
"lark.server.arguments": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Additional arguments for the Lark Parser Language Server"
},
"lark.server.trace": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Trace communication between VS Code and the language server"
}
}
},
"commands": [
{
"command": "lark-parser.showLogs",
"title": "Show Logs",
"category": "Lark"
},
{
"command": "lark-parser.restartServer",
"title": "Restart Language Server",
"category": "Lark"
},
{
"command": "lark-parser.removeBundledEnvironment",
"title": "Remove Bundled Environment",
"category": "Lark"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "lark-view",
"title": "Lark",
"icon": "./images/_lark_viewcontainer_icon.svg"
}
]
},
"views": {
"lark-view": [
{
"id": "lark.rules",
"name": "Rules",
"icon": "file-code"
},
{
"id": "lark.terminals",
"name": "Terminals",
"icon": "terminal"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "npm run lint && node esbuild.mjs",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.mjs --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "npm run lint && node esbuild.mjs --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.10",
"@types/node": "^24.5.2",
"@types/vscode": "^1.93.0",
"@typescript-eslint/eslint-plugin": "^8.44.1",
"@typescript-eslint/parser": "^8.44.1",
"@vscode/test-cli": "^0.0.11",
"@vscode/test-electron": "^2.5.2",
"esbuild": "^0.25.10",
"eslint": "^9.36.0",
"npm-run-all": "^4.1.5",
"typescript": "^5.9.2"
},
"dependencies": {
"@vscode/python-extension": "^1.0.6",
"vscode-languageclient": "^9.0.1"
}
}