-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathpackage.json
238 lines (238 loc) · 6.33 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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
{
"name": "diff-merge",
"displayName": "Diff & Merge",
"description": "Show diffs and merge",
"version": "-1.0.0",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/moshfeu/vscode-diff-merge"
},
"keywords": [
"compare",
"diff",
"diff-merge"
],
"icon": "resources/icons/icon.png",
"galleryBanner": {
"color": "#f5f5f5",
"theme": "light"
},
"publisher": "moshfeu",
"author": {
"name": "Mosh Feuchtwanger",
"email": "[email protected]",
"url": "https://twitter.com/moshfeu"
},
"engines": {
"vscode": "^1.38.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"scripts": {
"monaco": "http-server -p 12345 resources/monaco",
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"webview:watch": "cd resources/monaco && yarn build:dev",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile",
"test:unit": "ts-mocha src/**/*.spec.ts",
"test": "node ./out/test/runTest.js",
"package": "bash scripts/package.sh",
"deploy:openvsx": "sh scripts/deploy-openvsx.sh",
"deploy": "vsce publish --yarn"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/istextorbinary": "^2.3.0",
"@types/lodash": "^4.14.140",
"@types/mocha": "^9.1.0",
"@types/node": "^10.12.21",
"@types/vscode": "^1.38.0",
"glob": "^7.1.4",
"mocha": "^6.1.4",
"ts-mocha": "^8.0.0",
"tslint": "^5.12.1",
"typescript": "^3.3.1",
"vsce": "^1.74.0",
"vscode-test": "^1.0.2"
},
"dependencies": {
"istextorbinary": "^3.0.0",
"lodash": "^4.17.21"
},
"contributes": {
"menus": {
"explorer/context": [
{
"command": "diffMerge.selectToCompare",
"when": "!explorerResourceIsFolder && !listMultiSelection",
"group": "3_compare@100"
},
{
"command": "diffMerge.compareWithSelected",
"when": "!explorerResourceIsFolder && !listMultiSelection && diffMergeFileSelected",
"group": "3_compare@101"
},
{
"command": "diffMerge.chooseFile",
"when": "!explorerResourceIsFolder && !listMultiSelection",
"group": "3_compare@102"
},
{
"command": "diffMerge.compareSelected",
"when": "listDoubleSelection",
"group": "3_compare@103"
}
],
"scm/resourceState/context": [
{
"command": "diffMerge.scm.file"
}
],
"editor/title": [
{
"command": "diffMerge.swap",
"group": "navigation@-101",
"when": "diffMerge.panelFocused"
},
{
"command": "diffMerge.nextDiff",
"group": "navigation@-99",
"when": "diffMerge.panelFocused"
},
{
"command": "diffMerge.prevDiff",
"group": "navigation@-100",
"when": "diffMerge.panelFocused"
},
{
"command": "diffMerge.applyAllChanges",
"group": "navigation@-102",
"when": "diffMerge.panelFocused && diffMerge.hasChanges"
},
{
"command": "diffMerge.openWithDiffMerge",
"group": "navigation@-98",
"when": "!diffMerge.panelFocused && inDiffEditor"
}
],
"editor/title/context": [
{
"command": "diffMerge.selectToCompare",
"group": "z@100"
},
{
"command": "diffMerge.compareWithSelected",
"when": "diffMergeFileSelected",
"group": "z@101"
},
{
"command": "diffMerge.compareFileWithClipboard",
"group": "z@102"
}
],
"commandPalette": [
{
"command": "diffMerge.chooseFile",
"when": "editorIsOpen"
},
{
"command": "diffMerge.scm.file",
"when": "false"
},
{
"command": "diffMerge.nextDiff",
"when": "diffMerge.panelFocused"
},
{
"command": "diffMerge.prevDiff",
"when": "diffMerge.panelFocused"
},
{
"command": "diffMerge.openWithDiffMerge",
"when": "!diffMerge.panelFocused && inDiffEditor"
}
]
},
"keybindings": [
{
"command": "diffMerge.nextDiff",
"key": "alt+f5",
"when": "diffMerge.panelFocused"
},
{
"command": "diffMerge.prevDiff",
"key": "alt+shift+f5",
"when": "diffMerge.panelFocused"
}
],
"commands": [
{
"title": "Next Change",
"category": "Diff Merge",
"command": "diffMerge.nextDiff",
"icon": "$(diff-editor-next-change)"
},
{
"title": "Previous Change",
"category": "Diff Merge",
"command": "diffMerge.prevDiff",
"icon": "$(diff-editor-previous-change)"
},
{
"title": "Apply All Changes",
"category": "Diff Merge",
"command": "diffMerge.applyAllChanges",
"icon": "$(check-all)"
},
{
"title": "Swap sides",
"category": "Diff Merge",
"command": "diffMerge.swap",
"icon": "$(arrow-both)"
},
{
"title": "[Diff & Merge] Choose a file to merge",
"command": "diffMerge.chooseFile"
},
{
"title": "[Diff & Merge] Compare Selected files",
"command": "diffMerge.compareSelected"
},
{
"title": "[Diff & Merge] Blank diff view",
"command": "diffMerge.blank"
},
{
"title": "[Diff & Merge] Open Changes",
"command": "diffMerge.scm.file"
},
{
"title": "[Diff & Merge] Compare file with Clipboard",
"command": "diffMerge.compareFileWithClipboard"
},
{
"title": "[Diff & Merge] Select file to compare",
"command": "diffMerge.selectToCompare"
},
{
"title": "[Diff & Merge] Compare file with selected file",
"command": "diffMerge.compareWithSelected"
},
{
"title": "[Diff & Merge] Open current diff-view with Diff & Merge",
"command": "diffMerge.openWithDiffMerge",
"icon": {
"dark": "resources/icons/dark/diff-merge-icon.svg",
"light": "resources/icons/light/diff-merge-icon.svg"
}
}
]
}
}