-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
132 lines (132 loc) · 2.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
130
131
132
{
"name": "vscode-vba",
"displayName": "VBA",
"description": "VBA tooling, syntax highlighting and snippets.",
"icon": "images/icon.png",
"version": "0.11.2",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/serkonda7/vscode-vba"
},
"publisher": "serkonda7",
"engines": {
"node": ">=18",
"vscode": "^1.82.0"
},
"packageManager": "[email protected]+sha512.6e2baf77d06b9362294152c851c4f278ede37ab1eba3a55fda317a4a17b209f4dbb973fb250a77abc463a341fcb1f17f17cfa24091c4eb319cda0d9b84278387",
"categories": [
"Programming Languages",
"Snippets",
"Language Packs"
],
"keywords": [
"VBA",
"WWB"
],
"activationEvents": [
"onLanguage:vba",
"onLanguage:wwb",
"workspaceContains:**/*.{docm,xlsm,pptm,xlam,ppam}"
],
"main": "./src/main.js",
"browser": "./src/main.js",
"capabilities": {
"untrustedWorkspaces": {
"supported": true
}
},
"contributes": {
"languages": [
{
"id": "vba",
"aliases": [
"VBA"
],
"extensions": [
".bas",
".cls",
".doccls",
".frm",
".vba"
],
"configuration": "./out/language-configuration.json"
},
{
"id": "wwb",
"aliases": [
"WinWrap Basic"
],
"extensions": [
".wwd"
]
}
],
"grammars": [
{
"language": "vba",
"scopeName": "source.vba",
"path": "./out/vba.json"
},
{
"language": "wwb",
"scopeName": "source.wwb",
"path": "./out/wwb.json"
}
],
"snippets": [
{
"language": "vba",
"path": "./out/vba_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": "pnpm run convert-yaml && pnpm run test-vba && pnpm run test-wwb",
"test-vba": "vscode-tmgrammar-test -g ./out/vba.json \"syntaxes/tests/vba/*.bas\"",
"test-wwb": "vscode-tmgrammar-test -g ./out/wwb.json \"syntaxes/tests/other/*.wwd\"",
"install-dev-ext": "vsce package -o ./out/vscode-vba-dev.vsix && code --install-extension ./out/vscode-vba-dev.vsix --force",
"package": "vsce package",
"convert-yaml": "yaml2json language-configuration.yml \"syntaxes/*.yaml-tmlanguage\" \"snippets/*.yml\"",
"vscode:prepublish": "pnpm run convert-yaml"
},
"devDependencies": {
"@serkonda7/yaml2json": "^0.9.0",
"@vscode/vsce": "~3.2.1",
"vscode-tmgrammar-test": "~0.1.3"
}
}