-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
205 lines (205 loc) · 5.51 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
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
{
"name": "resx-editor",
"displayName": "ResX Viewer and Editor",
"description": "Editor and viewer for resx/resw resource files",
"author": {
"name": "Tim Heuer",
"url": "https://timheuer.com"
},
"publisher": "timheuer",
"icon": "icon.png",
"repository": {
"type": "git",
"url": "https://github.com/timheuer/resx-editor"
},
"preview": true,
"bugs": {
"url": "https://github.com/timheuer/resx-editor/issues"
},
"license": "MIT",
"version": "0.0.0-placeholder",
"engines": {
"vscode": "^1.79.0"
},
"qna": "https://github.com/timheuer/resx-editor/issues",
"categories": [
"Other"
],
"keywords": [
"resx",
"resw",
"resource",
"editor",
"viewer"
],
"badges": [
{
"url": "https://img.shields.io/visual-studio-marketplace/v/timheuer.resx-editor?label=VS%20Code%20Marketplace&color=brightgreen&logo=visualstudiocode",
"href": "https://marketplace.visualstudio.com/items?itemName=TimHeuer.resx-editor",
"description": "Current Version"
},
{
"url": "https://github.com/timheuer/resx-editor/actions/workflows/build.yaml/badge.svg",
"href": "https://github.com/timheuer/resx-editor/actions/workflows/build.yaml",
"description": "Build Status"
}
],
"activationEvents": [
"onLanguage:resx",
"onLanguage:resw"
],
"main": "./out/extension.js",
"contributes": {
"customEditors": [
{
"viewType": "resx-editor.editor",
"displayName": "ResX Editor",
"selector": [
{
"filenamePattern": "*.resx"
},
{
"filenamePattern": "*.resw"
}
]
}
],
"languages": [
{
"id": "xml",
"extensions": [
".resx",
".resw",
".xml"
],
"aliases": [
"XML",
"ResX",
"ResW"
]
}
],
"snippets": [
{
"language": "xml",
"path": "./snippet/resx.json"
}
],
"configuration": {
"title": "ResX Editor",
"properties": {
"resx-editor.verboseLogging": {
"type": "boolean",
"default": false,
"description": "Enable verbose logging"
}
}
},
"menus": {
"webview/context": [
{
"command": "resx-editor.deleteResource",
"when": "activeCustomEditorId == 'resx-editor.editor'"
}
],
"editor/title": [
{
"command": "resx-editor.openInTextEditor",
"when": "activeCustomEditorId == 'resx-editor.editor' && activeEditorIsNotPreview == false",
"group": "navigation@1"
},
{
"command": "resx-editor.openPreview",
"when": "(resourceExtname == '.resx' || resourceExtname == '.resw') && activeEditor == 'workbench.editors.files.textFileEditor'",
"group": "navigation@1"
},
{
"command": "resx-editor.openInResxEditor",
"when": "(resourceExtname == '.resx' || resourceExtname == '.resw') && activeEditor == 'workbench.editors.files.textFileEditor'",
"group": "navigation@1"
}
],
"commandPalette": [
{
"command": "resx-editor.deleteResource",
"when": "false"
},
{
"command": "resx-editor.addNewResource",
"when": "activeCustomEditorId == 'resx-editor.editor'"
},
{
"command": "resx-editor.openInTextEditor",
"when": "activeCustomEditorId == 'resx-editor.editor'"
},
{
"command": "resx-editor.openPreview",
"when": "false"
},
{
"command": "resx-editor.openInResxEditor",
"when": "(resourceExtname == '.resx' || resourceExtname == '.resw') && activeCustomEditorId != 'resx-editor.editor'"
}
]
},
"commands": [
{
"command": "resx-editor.deleteResource",
"title": "Delete Resource",
"category": "ResX Editor"
},
{
"command": "resx-editor.addNewResource",
"title": "Add New Resource",
"category": "ResX Editor"
},
{
"command": "resx-editor.openInTextEditor",
"title": "Open in Text Editor",
"category": "ResX Editor",
"icon": "$(notebook-open-as-text)"
},
{
"command": "resx-editor.openPreview",
"title": "Open Preview",
"category": "ResX Editor",
"icon": "$(open-preview)"
},
{
"command": "resx-editor.openInResxEditor",
"title": "Open in ResX Editor",
"category": "ResX Editor",
"icon": "$(notebook-render-output)"
}
]
},
"scripts": {
"vscode:prepublish": "rimraf ./out && npm run package",
"compile": "rimraf ./out && node ./esbuild.js",
"package": "cross-env NODE_ENV=production node ./esbuild.js",
"watch": "node ./esbuild.js --watch",
"deploy": "vsce publish"
},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/resx": "^2.0.1",
"@types/vscode": "^1.79.0",
"@typescript-eslint/eslint-plugin": "^5.59.1",
"@typescript-eslint/parser": "^5.59.1",
"@vscode/test-electron": "^2.3.0",
"@vscode/vsce": "^2.19.0",
"cross-env": "^7.0.3",
"esbuild": "^0.18.6",
"eslint": "^8.39.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"nerdbank-gitversioning": "^3.6.133",
"typescript": "^5.0.4"
},
"dependencies": {
"@vscode/webview-ui-toolkit": "^1.2.2",
"resx": "^2.0.4"
}
}