-
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
171 lines (171 loc) · 4.16 KB
/
package.json
File metadata and controls
171 lines (171 loc) · 4.16 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
{
"name": "vscode-vba",
"displayName": "VBA",
"description": "VBA and VB6 tooling, syntax highlighting and snippets.",
"icon": "images/icon.png",
"version": "1.2.1",
"license": "MPL-2.0",
"publisher": "serkonda7",
"repository": {
"type": "git",
"url": "https://github.com/serkonda7/vscode-vba"
},
"bugs": {
"url": "https://github.com/serkonda7/vscode-vba/issues"
},
"categories": [
"Programming Languages",
"Snippets",
"Language Packs"
],
"keywords": [
"VB6",
"VBA",
"WWB"
],
"type": "module",
"main": "./src/main.js",
"browser": "./src/main.js",
"capabilities": {
"untrustedWorkspaces": {
"supported": true
}
},
"activationEvents": [
"workspaceContains:**/*.{docm,xlsm,pptm,xlam,ppam}"
],
"contributes": {
"languages": [
{
"id": "vb6",
"aliases": [
"Visual Basic 6"
],
"extensions": [
".ctl",
".dsr"
],
"configuration": "./dist/language-configuration.json"
},
{
"id": "vba",
"aliases": [
"Visual Basic for Applications"
],
"extensions": [
".bas",
".cls",
".frm",
".vba",
".doccls"
],
"configuration": "./dist/language-configuration.json",
"icon": {
"light": "./images/vba-logo-light.svg",
"dark": "./images/vba-logo-dark.svg"
}
},
{
"id": "wwb",
"aliases": [
"WinWrap Basic"
],
"extensions": [
".wwd"
],
"configuration": "./dist/language-configuration.json"
}
],
"grammars": [
{
"language": "vb6",
"scopeName": "source.vb6",
"path": "./dist/vb6.json"
},
{
"language": "vba",
"scopeName": "source.vba",
"path": "./dist/vba.json"
},
{
"language": "wwb",
"scopeName": "source.wwb",
"path": "./dist/wwb.json"
}
],
"snippets": [
{
"language": "vba",
"path": "./dist/snippets.json"
},
{
"language": "vb6",
"path": "./dist/snippets.json"
},
{
"language": "wwb",
"path": "./dist/snippets.json"
}
],
"commands": [
{
"command": "vba.extract_from_doc",
"title": "VBA: Extract code from office document."
},
{
"command": "vba.write_to_doc",
"title": "VBA: Write code to office document."
}
],
"menus": {
"commandPalette": [
{
"command": "vba.extract_from_doc",
"when": "false"
},
{
"command": "vba.write_to_doc",
"when": "false"
}
],
"explorer/context": [
{
"command": "vba.extract_from_doc",
"when": "resourceExtname in vba.ctx.docExts",
"group": "2_workspace"
},
{
"command": "vba.write_to_doc",
"when": "resourceExtname in vba.ctx.docExts",
"group": "2_workspace"
}
]
}
},
"scripts": {
"test": "bun run convert && bun run test:all",
"test:all": "bun run test:vba && bun run test:vb6 && bun run test:wwb",
"test:vba": "bunx textmate-grammar-test -g ./dist/vba.json \"syntaxes/tests/vba/*.bas\"",
"test:vb6": "bunx textmate-grammar-test -g ./dist/vb6.json \"syntaxes/tests/vb6/*.bas\"",
"test:wwb": "bunx textmate-grammar-test -g ./dist/wwb.json \"syntaxes/tests/wwb/*.wwd\"",
"validate": "bun run ./scripts/validate_yaml.ts",
"package": "bunx vsce package",
"package:dev": "bunx vsce package -o ./vscode-vba-dev.vsix",
"install:dev": "bun run package:dev && code --install-extension ./vscode-vba-dev.vsix --force",
"convert": "bun run ./scripts/convert_yaml.ts",
"vscode:prepublish": "bun run convert"
},
"engines": {
"node": ">=22",
"vscode": "^1.101.0"
},
"packageManager": "bun@1.3.11",
"devDependencies": {
"@types/bun": "~1.3.13",
"@types/node": "~22.19.15",
"@vscode/vsce": "~3.9.1",
"ajv": "~8.18.0",
"ajv-formats": "~3.0.1",
"textmate-grammar-test": "~0.6.0"
}
}