-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
129 lines (129 loc) · 3.9 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
{
"name": "templ",
"displayName": "templ-vscode",
"description": "Provides syntax highlighting and templ LSP integration.",
"publisher": "a-h",
"icon": "templ.png",
"repository": {
"url": "https://github.com/a-h/templ-vscode"
},
"activationEvents": [
"workspaceContains:**/*.templ"
],
"main": "./dist/main.js",
"version": "0.0.29",
"engines": {
"vscode": "^1.92.0"
},
"scripts": {
"webpack": "webpack --mode development",
"compile": "webpack --mode production",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"version": "standard-version",
"package": "npx vsce package",
"publish": "npx vsce publish",
"test": "vscode-tmgrammar-snap -g ./tests/go.tmLanguage.json -g ./tests/css.tmLanguage.json -g ./tests/JavaScript.tmLanguage.json 'tests/snap/**/*.templ'",
"test:update": "vscode-tmgrammar-snap -g ./tests/go.tmLanguage.json -g ./tests/css.tmLanguage.json -g ./tests/JavaScript.tmLanguage.json --updateSnapshot 'tests/snap/**/*.templ'"
},
"categories": [
"Programming Languages"
],
"contributes": {
"languages": [
{
"id": "templ",
"aliases": [
"templ",
"templ"
],
"extensions": [
".templ"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "templ",
"scopeName": "source.templ",
"path": "./syntaxes/templ.tmLanguage.json",
"embeddedLanguages": {
"meta.embedded.block.go": "go",
"meta.embedded.block.js": "js",
"meta.embedded.block.html": "html",
"meta.embedded.block.css": "css"
}
}
],
"commands": [
{
"command": "templ.restartServer",
"title": "Templ: Restart Language Server"
}
],
"configuration": {
"title": "templ",
"properties": {
"templ.goplsLog": {
"type": "string",
"default": "",
"description": "The path used to write gopls logs to (same as the templ -goplsLog argument)"
},
"templ.goplsRPCTrace": {
"type": "boolean",
"default": false,
"description": "Set to true to enable gopls RPC tracing (same as the templ -goplsRPCTrace argument)"
},
"templ.log": {
"type": "string",
"default": "",
"description": "When set to a filename, templ will be written to the file (same as the templ -log argument)"
},
"templ.pprof": {
"type": "boolean",
"default": false,
"description": "Set to true to enable a pprof HTTP endppint (same as the templ -pprof argument)"
},
"templ.http": {
"type": "string",
"default": "",
"description": "Set to a value such as localhost:7474 to enable a HTTP endpoint that can be used for debugging (same as the templ -http argument)"
},
"templ.experiments": {
"type": "string",
"default": "",
"description": "A comma separated list of enabled experiments e.g. \"experimentfoo,experimentbar\" (same as the TEMPL_EXPERIMENT environment variable)"
}
}
},
"configurationDefaults": {
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.patterns": {
"*.templ": "${capture}_templ.go,${capture}_templ.txt"
}
},
"htmlLanguageParticipants": [
{
"languageId": "templ"
}
]
},
"extensionDependencies": [
"vscode.html-language-features"
],
"devDependencies": {
"@types/vscode": "1.92.0",
"@vscode/test-electron": "2.3.9",
"@vscode/vsce": "^3.0.0",
"standard-version": "^9.5.0",
"ts-loader": "9.5.1",
"typescript": "5.4.5",
"vscode-tmgrammar-test": "^0.1.3",
"webpack": "5.94.0",
"webpack-cli": "5.1.4"
},
"dependencies": {
"lookpath": "^1.2.2",
"vscode-languageclient": "9.0.1"
}
}