-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
208 lines (208 loc) · 5.72 KB
/
Copy pathpackage.json
File metadata and controls
208 lines (208 loc) · 5.72 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
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
{
"name": "gowdk-vscode",
"displayName": "GOWDK",
"description": "Language tools for portable .gwdk files.",
"version": "0.12.3",
"publisher": "gowdk",
"license": "MIT",
"icon": "icons/gowdk.png",
"repository": {
"type": "git",
"url": "https://github.com/cssbruno/GOWDK.git",
"directory": "editors/vscode"
},
"bugs": {
"url": "https://github.com/cssbruno/GOWDK/issues"
},
"homepage": "https://github.com/cssbruno/GOWDK#readme",
"keywords": [
"gowdk",
"web",
"compiler",
"spa-app",
"language-support"
],
"scripts": {
"sync-version": "node scripts/sync-version.js",
"check": "node scripts/sync-version.js --check && node --check extension.js && node --check extension-core.js",
"test": "node --test *.test.js",
"package": "node scripts/sync-version.js && node scripts/package-vsix.js"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Programming Languages",
"Formatters"
],
"activationEvents": [
"onLanguage:gwdk",
"onCommand:gowdk.checkCurrentFile",
"onCommand:gowdk.showManifest",
"onCommand:gowdk.showTokens",
"onCommand:gowdk.showSiteMap",
"onCommand:gowdk.refreshSiteMapTree",
"onCommand:gowdk.openPageFile",
"onCommand:gowdk.movePageFile",
"onView:gowdk.siteMapTree",
"onView:gowdk.directoryOutline"
],
"main": "./extension.js",
"contributes": {
"languages": [
{
"id": "gwdk",
"aliases": [
"GOWDK",
"gwdk"
],
"extensions": [
".gwdk"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "gwdk",
"scopeName": "source.gwdk",
"path": "./syntaxes/gwdk.tmLanguage.json"
}
],
"commands": [
{
"command": "gowdk.checkCurrentFile",
"title": "GOWDK: Check Current File",
"icon": "$(check)"
},
{
"command": "gowdk.showManifest",
"title": "GOWDK: Show Manifest",
"icon": "$(symbol-object)"
},
{
"command": "gowdk.showTokens",
"title": "GOWDK: Show Tokens",
"icon": "$(symbol-keyword)"
},
{
"command": "gowdk.showSiteMap",
"title": "GOWDK: Show Site Map",
"icon": "$(list-tree)"
},
{
"command": "gowdk.refreshSiteMapTree",
"title": "GOWDK: Refresh Site Map",
"icon": "$(refresh)"
},
{
"command": "gowdk.openPageFile",
"title": "GOWDK: Open Page File",
"icon": "$(go-to-file)"
},
{
"command": "gowdk.movePageFile",
"title": "GOWDK: Move Page File",
"icon": "$(arrow-swap)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "gowdk",
"title": "GOWDK",
"icon": "icons/gowdk.svg"
}
]
},
"views": {
"gowdk": [
{
"id": "gowdk.siteMapTree",
"name": "Page Hierarchy"
},
{
"id": "gowdk.directoryOutline",
"name": "Source Outline"
}
]
},
"menus": {
"view/title": [
{
"command": "gowdk.refreshSiteMapTree",
"when": "view == gowdk.siteMapTree || view == gowdk.directoryOutline",
"group": "navigation"
},
{
"command": "gowdk.showSiteMap",
"when": "view == gowdk.siteMapTree || view == gowdk.directoryOutline",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "gowdk.openPageFile",
"when": "(view == gowdk.siteMapTree || view == gowdk.directoryOutline) && viewItem == gwdkPage",
"group": "inline"
},
{
"command": "gowdk.movePageFile",
"when": "(view == gowdk.siteMapTree || view == gowdk.directoryOutline) && viewItem == gwdkPage",
"group": "inline"
}
]
},
"snippets": [
{
"language": "gwdk",
"path": "./snippets/gwdk.json"
}
],
"configuration": {
"title": "GOWDK",
"properties": {
"gowdk.cliPath": {
"type": "string",
"default": "",
"description": "Path to the gowdk CLI. When empty, the extension uses `go run ./cmd/gowdk` inside source workspaces, a workspace-local `gowdk` binary when present, then `gowdk` on PATH."
},
"gowdk.sourcePath": {
"type": "string",
"default": "",
"description": "Reserved path to a local GOWDK source checkout. App workspaces should use a built gowdk binary through PATH or gowdk.cliPath."
},
"gowdk.enableDiagnostics": {
"type": "boolean",
"default": true,
"description": "Run GOWDK diagnostics for .gwdk files."
},
"gowdk.enableFormatting": {
"type": "boolean",
"default": true,
"description": "Enable document formatting through `gowdk fmt`."
},
"gowdk.enableSsrAddon": {
"type": "boolean",
"default": false,
"description": "Pass --ssr to check/manifest commands so SSR pages validate as if the SSR addon is enabled."
},
"gowdk.cliTimeoutSeconds": {
"type": "number",
"default": 60,
"minimum": 1,
"description": "Timeout in seconds for gowdk CLI invocations. Raise this if `go run ./cmd/gowdk` builds are slow in source workspaces."
},
"gowdk.cliMaxBufferMB": {
"type": "number",
"default": 16,
"minimum": 1,
"description": "Maximum stdout/stderr buffer in megabytes for gowdk CLI invocations."
}
}
}
},
"devDependencies": {
"@vscode/vsce": "3.9.2"
}
}