-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
238 lines (238 loc) · 7.93 KB
/
package.json
File metadata and controls
238 lines (238 loc) · 7.93 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
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": "oil-code",
"displayName": "oil.code",
"description": "Provides an Oil.nvim like experience for VSCode.",
"icon": "images/oil.code.logo.png",
"repository": "https://github.com/corwinm/oil.code",
"publisher": "haphazarddev",
"version": "0.1.0",
"engines": {
"vscode": "^1.96.2"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "oil-code.open",
"title": "Oil: Open - Open Oil in active files directory"
},
{
"command": "oil-code.help",
"title": "Oil: Help - Display default oil keymaps"
},
{
"command": "oil-code.openCwd",
"title": "Oil: OpenCwd - Open current working directory"
},
{
"command": "oil-code.close",
"title": "Oil: Close - Close Oil if active"
},
{
"command": "oil-code.select",
"title": "Oil: Select - Open entry under the cursor"
},
{
"command": "oil-code.selectTab",
"title": "Oil: SelectTab - Open entry under the cursor in the current tab"
},
{
"command": "oil-code.selectVertical",
"title": "Oil: SelectVertical - Open entry under the cursor in adjacent vertical editor"
},
{
"command": "oil-code.preview",
"title": "Oil: Preview - Toggle preview window of entry under the cursor"
},
{
"command": "oil-code.refresh",
"title": "Oil: Refresh - Refresh directory listing from disk"
},
{
"command": "oil-code.cd",
"title": "Oil: cd - Change directory to the currently opened directory",
"when": "editorTextFocus && editorLangId == oil"
}
],
"languages": [
{
"id": "oil",
"aliases": [
"Oil",
"oil"
],
"configuration": "./language-configuration.json"
}
],
"keybindings": [
{
"command": "oil-code.open",
"key": "alt+-"
},
{
"command": "oil-code.help",
"key": "alt+shift+h",
"when": "editorTextFocus && editorLangId == oil"
},
{
"command": "oil-code.openCwd",
"key": "alt+shift+-",
"when": "editorTextFocus && editorLangId == oil"
},
{
"command": "oil-code.close",
"key": "alt+c",
"when": "editorTextFocus && editorLangId == oil"
},
{
"command": "oil-code.select",
"key": "alt+enter",
"when": "editorTextFocus && editorLangId == oil"
},
{
"command": "oil-code.selectTab",
"key": "alt+t",
"when": "editorTextFocus && editorLangId == oil"
},
{
"command": "oil-code.selectVertical",
"key": "alt+s",
"when": "editorTextFocus && editorLangId == oil"
},
{
"command": "oil-code.openCwd",
"key": "shift+-",
"when": "editorTextFocus && editorLangId == oil && vim.mode == 'Normal' && !config.oil-code.disableUnderscoreOpenCwd"
},
{
"command": "oil-code.preview",
"key": "ctrl+p",
"when": "editorTextFocus && editorLangId == oil && (vim.mode == 'Normal' || neovim.mode == normal)"
},
{
"command": "oil-code.preview",
"key": "alt+p",
"when": "editorTextFocus && editorLangId == oil"
},
{
"command": "oil-code.refresh",
"key": "alt+l",
"when": "editorTextFocus && editorLangId == oil"
},
{
"command": "oil-code.cd",
"key": "alt+`",
"when": "editorTextFocus && editorLangId == oil"
}
],
"grammars": [
{
"language": "oil",
"scopeName": "source.oil",
"path": "./syntaxes/oil.tmLanguage.json"
}
],
"configuration": {
"title": "oil.code",
"properties": {
"oil-code.disableVimKeymaps": {
"type": "boolean",
"default": false,
"description": "Disable all Vim keymaps for oil.code. Default is false. Set this to true if you want to set your own keymaps. Reload after changing this setting."
},
"oil-code.disableUnderscoreOpenCwd": {
"type": "boolean",
"default": false,
"description": "Disable the '_' (underscore) keybind for opening the current working directory in oil buffers. When disabled, '_' will behave as normal Vim motion (first non-blank character of line). Default is false. Reload after changing this setting."
},
"oil-code.disableOpenCwdNothingOpen": {
"type": "boolean",
"default": false,
"description": "Disable opening the current working directory when nothing is open. Default is false. Set this to true if you want to disable this feature."
},
"oil-code.hasNerdFont": {
"type": "boolean",
"default": false,
"description": "Set this to true if you have nerd font installed. Default is false. Set this to true if you want to use nerd font icons."
},
"oil-code.enableWorkspaceEdit": {
"type": "boolean",
"default": false,
"description": "Enable workspace edit for file move/rename operations. When enabled, VS Code will ask to update references when a file is moved or renamed. Default is false."
},
"oil-code.enableAlternateConfirmation": {
"type": "boolean",
"default": false,
"description": "Enable alternate confirmation dialog for file operations. When enabled, uses a QuickPick interface instead of the default modal confirmation dialog. Default is false."
},
"oil-code.previewByDefault": {
"type": "boolean",
"default": false,
"description": "Enable preview automatically when opening oil. Default is false."
}
}
}
},
"scripts": {
"vscode:prepublish": "pnpm run package",
"compile": "pnpm run check-types && pnpm run lint && node esbuild.js",
"deploy": "vsce publish --no-dependencies",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "pnpm run check-types && pnpm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "vscode-test",
"verify:release": "node scripts/verify-release-metadata.mjs",
"release": "semantic-release",
"release:dry-run": "semantic-release --dry-run"
},
"devDependencies": {
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/exec": "^7.1.0",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^11.0.6",
"@semantic-release/npm": "^12.0.2",
"@semantic-release/release-notes-generator": "^14.1.0",
"@types/mocha": "^10.0.10",
"@types/node": "~22.19.15",
"@types/sinon": "^21.0.0",
"@types/vscode": "1.95.0",
"@typescript-eslint/eslint-plugin": "^8.57.2",
"@typescript-eslint/parser": "^8.57.2",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.7.1",
"conventional-changelog-conventionalcommits": "^8.0.0",
"esbuild": "^0.27.4",
"eslint": "^9.39.4",
"npm-run-all": "^4.1.5",
"ovsx": "^0.10.5",
"semantic-release": "^24.2.9",
"sinon": "^21.0.3",
"typescript": "^5.9.3"
},
"packageManager": "pnpm@10.23.0+sha512.21c4e5698002ade97e4efe8b8b4a89a8de3c85a37919f957e7a0f30f38fbc5bbdd05980ffe29179b2fb6e6e691242e098d945d1601772cad0fef5fb6411e2a4b",
"pnpm": {
"overrides": {
"mocha>diff": "8.0.3",
"mocha>serialize-javascript": "7.0.5"
},
"onlyBuiltDependencies": [
"@vscode/vsce-sign",
"esbuild",
"keytar"
]
}
}