-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 2.68 KB
/
Copy pathpackage.json
File metadata and controls
108 lines (108 loc) · 2.68 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
{
"name": "rshtml",
"displayName": "rshtml",
"description": "RsHtml Template Support",
"version": "0.1.5",
"publisher": "rshtml",
"license": "MIT or Apache-2.0",
"keywords": [
"rshtml",
"rust",
"html",
"template",
"lsp",
"language server"
],
"repository": {
"type": "git",
"url": "https://github.com/rshtml/vscode.git"
},
"homepage": "https://github.com/rshtml/vscode",
"bugs": {
"url": "https://github.com/rshtml/vscode/issues"
},
"icon": "rshtml.png",
"engines": {
"vscode": "^1.102.0"
},
"categories": [
"Programming Languages"
],
"contributes": {
"grammars": [
{
"language": "html",
"scopeName": "source.rshtml",
"path": "./syntaxes/rshtml.tmLanguage.json",
"injectTo": [
"text.html.basic"
]
},
{
"scopeName": "rshtml.rust",
"path": "./syntaxes/rshtml-rust.tmLanguage.json",
"injectTo": [
"source.rust"
]
}
],
"commands": [
{
"command": "rshtml.format",
"title": "Format RsHtml"
}
],
"menus": {
"editor/context": [
{
"command": "rshtml.format",
"when": "resourceLangId == rust",
"group": "1_modification"
}
]
}
},
"configuration": {
"title": "RsHtml",
"properties": {
"rshtml.trace.server": {
"type": "string",
"scope": "window",
"description": "description of rshtml.trace.server",
"default": "verbose",
"enum": [
"off",
"messages",
"verbose"
]
}
}
},
"dependencies": {
"axios": "^1.12.2",
"tar": "^7.5.1",
"vscode-html-languageservice": "^5.6.1",
"vscode-languageclient": "^9.0.1",
"vscode-languageserver-textdocument": "^1.0.12",
"web-tree-sitter": "^0.26.3",
"which": "^5.0.0"
},
"devDependencies": {
"@types/node": "^24.0.4",
"@types/vscode": "^1.101.0",
"@types/which": "^3.0.4",
"@vscode/vsce": "^3.6.2",
"esbuild": "^0.25.6"
},
"activationEvents": [
"onLanguage:html",
"onLanguage:rust"
],
"main": "out/extension.js",
"scripts": {
"vscode:prepublish": "npm run build:release",
"build": "esbuild ./src/extension.ts --bundle --outfile=./out/extension.js --external:vscode --format=cjs --platform=node --main-fields=module,main && cp -r tree-sitter/* out/",
"build:release": "esbuild ./src/extension.ts --bundle --outfile=./out/extension.js --external:vscode --format=cjs --platform=node --minify --drop:console --drop:debugger --main-fields=module,main && cp -r tree-sitter/* out/",
"package": "vsce package --no-dependencies"
}
}