-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
124 lines (124 loc) · 3.52 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
{
"name": "vscode-rimraf",
"displayName": "VSCode Rimraf: Delete files permanently",
"description": "Permanently delete files and folders (like `npx rimraf` or `rm -rf`) directly from the VSCode GUI.",
"version": "1.0.5",
"author": "LuisFerLCC",
"publisher": "luisferlcc",
"icon": "media/vscode-rimraf-icon.png",
"engines": {
"vscode": "^1.70.0"
},
"categories": [
"Other"
],
"keywords": [
"fs",
"delete",
"file",
"files",
"rimraf"
],
"activationEvents": [
"onCommand:deleteFile",
"onCommand:moveFileToTrash",
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "vscode-rimraf.toggle",
"title": "VSCode Rimraf: Toggle extension"
},
{
"command": "vscode-rimraf.empty-trash",
"title": "VSCode Rimraf: Empty the trash"
},
{
"command": "vscode-rimraf.save-logs",
"title": "VSCode Rimraf: Save debug log file"
}
],
"keybindings": [
{
"key": "delete",
"command": "-deleteFile",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceMoveableToTrash && !explorerResourceReadonly && !inputFocus"
},
{
"key": "delete",
"command": "moveFileToTrash",
"when": "explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus"
},
{
"key": "delete",
"command": "-moveFileToTrash",
"when": "explorerResourceMoveableToTrash && explorerViewletVisible && filesExplorerFocus && !explorerResourceReadonly && !inputFocus"
}
],
"configuration": {
"title": "VSCode Rimraf",
"properties": {
"vscodeRimraf.defaultState": {
"type": "string",
"enum": [
"enabled",
"disabled",
"prompt"
],
"enumDescriptions": [
"Enables the extension by default.",
"Disables the extension by default.",
"Shows a prompt to the user on startup to manually enable or disable the extension."
],
"default": "prompt",
"description": "Whether the extension is enabled or disabled by default, or defined by the user through a prompt on startup."
}
}
}
},
"capabilities": {
"virtualWorkspaces": {
"supported": false,
"description": "VSCode does not move files to the trash in virtual workspaces."
},
"untrustedWorkspaces": {
"supported": true
}
},
"scripts": {
"build": "tsc --noEmit && bun run scripts/esbuild.mjs",
"build:watch": "bun run prebuild && bun run scripts/esbuild.mjs --watch",
"package": "bun run build && vsce package",
"prebuild": "rm -rf dist *.vsix && bun run format",
"format": "prettier --write . && eslint --ext .js,.mjs,.ts --fix ."
},
"devDependencies": {
"@sprout2000/esbuild-copy-plugin": "^1.1.12",
"@types/eslint": "^8.44.3",
"@types/node": "^20.8.3",
"@types/vscode": "^1.70.0",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"esbuild": "^0.19.4",
"eslint": "^8.51.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-prettier": "^5.0.0",
"p-filter": "^3.0.0",
"prettier": "^3.0.3",
"run-jxa": "^3.0.0",
"typescript": "^5.2.2",
"xdg-trashdir": "^3.1.0"
},
"repository": {
"url": "https://github.com/LuisFerLCC/vscode-rimraf"
},
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/LuisFerLCC/vscode-rimraf/issues"
},
"homepage": "https://github.com/LuisFerLCC/vscode-rimraf#readme"
}