-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
227 lines (227 loc) · 6.45 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
{
"name": "secretlens",
"displayName": "SecretLens",
"description": "Show a codelens decrypting a secret in the document",
"version": "2.2.2",
"icon": "resources/icon.png",
"publisher": "fcrespo82",
"homepage": "https://github.com/fcrespo82/vscode-secretlens",
"repository": {
"type": "git",
"url": "https://github.com/fcrespo82/vscode-secretlens"
},
"bugs": {
"url": "https://github.com/fcrespo82/vscode-secretlens/issues"
},
"license": "MIT",
"keywords": [
"secret",
"crypto",
"cypher",
"encrypt",
"decrypt"
],
"engines": {
"vscode": "^1.34.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"menus": {
"explorer/context": [
{
"command": "secretlens.encryptFile",
"when": "explorerResourceIsFolder == false",
"group": "secretLens"
},
{
"command": "secretlens.encryptDir",
"when": "explorerResourceIsFolder",
"group": "secretLens"
},
{
"command": "secretlens.decryptFile",
"when": "explorerResourceIsFolder == false",
"group": "secretLens"
},
{
"command": "secretlens.decryptDir",
"when": "explorerResourceIsFolder",
"group": "secretLens"
}
]
},
"commands": [
{
"title": "Encrypt",
"command": "secretlens.encrypt",
"category": "SecretLens"
},
{
"title": "Encrypt file",
"command": "secretlens.encryptFile",
"category": "SecretLens"
},
{
"title": "Encrypt directory files",
"command": "secretlens.encryptDir",
"category": "SecretLens"
},
{
"title": "Decrypt",
"command": "secretlens.decrypt",
"category": "SecretLens"
},
{
"title": "Decrypt file",
"command": "secretlens.decryptFile",
"category": "SecretLens"
},
{
"title": "Decrypt directory files",
"command": "secretlens.decryptDir",
"category": "SecretLens"
},
{
"title": "Set password",
"command": "secretlens.setPassword",
"category": "SecretLens"
},
{
"title": "Forget password",
"command": "secretlens.forgetPassword",
"category": "SecretLens"
},
{
"title": "Copy secret",
"command": "secretlens.copySecret",
"category": "SecretLens"
}
],
"keybindings": [
{
"command": "secretlens.encrypt",
"key": "ctrl+l ctrl+e",
"mac": "cmd+l cmd+e"
},
{
"command": "secretlens.decrypt",
"key": "ctrl+l ctrl+d",
"mac": "cmd+l cmd+d"
},
{
"command": "secretlens.setPassword",
"key": "ctrl+l ctrl+p",
"mac": "cmd+l cmd+p"
},
{
"command": "secretlens.forgetPassword",
"key": "ctrl+l ctrl+f",
"mac": "cmd+l cmd+f"
},
{
"command": "secretlens.copySecret",
"key": "ctrl+l ctrl+c",
"mac": "cmd+l cmd+c"
}
],
"configuration": {
"title": "SecretLens",
"properties": {
"secretlens.displayType": {
"title": "How to display the secret",
"description": "Display the secret as a inline CodeLens, a Hover Provider or Both.\nThe extensions must be reloaded to this setting take effect.",
"type": "string",
"enum": [
"CodeLens",
"Hover",
"Both"
],
"default": "CodeLens"
},
"secretlens.token": {
"title": "Start Token",
"description": "Start token for identifying the encrypted text",
"type": "string",
"default": "<sl:"
},
"secretlens.endToken": {
"title": "End Token",
"description": "End token for identifying the encrypted text. Defaults to same as token",
"type": "string",
"default": ":sl>"
},
"secretlens.excludeEnd": {
"title": "Exclude end fence",
"description": "Should the end fence be excluded when encrypting texts",
"type": "boolean",
"default": false
},
"secretlens.languages": {
"title": "Language identifiers",
"description": "Language identifiers in which the extension will act",
"type": "array",
"default": [
"*"
]
},
"secretlens.copySeparator": {
"title": "Copy separator",
"description": "Separator for when copying multiple secrets",
"type": "string",
"default": "\n"
},
"secretlens.rememberPeriod": {
"title": "Remember period",
"description": "How many seconds the password will be remembered before being erased from cache",
"type": "integer",
"default": -1
},
"secretlens.recursiveDirectories": {
"title": "Recursive",
"description": "Go inside subdirectories to encrypt/decrypt files",
"type": "boolean",
"default": false
},
"secretlens.cryptoMethod": {
"title": "Crypto method",
"description": "How the secrets are encrypted.\ndefault: legacy implementation\npbkdf2: openssl password based key derivation function 2\n equivalent to shell command [openssl enc -aes-256-cbc -pbkdf2 | xxd -p]\n decrypt with [xxd -p -r | openssl enc -aes-256-cbc -pbkdf2 -d]",
"type": "string",
"enum": [
"legacy",
"pbkdf2"
],
"default": "legacy"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run -S esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run -S esbuild-base -- --sourcemap",
"watch": "npm run -S esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./",
"lint": "eslint .",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/mocha": "^5.2.0",
"@types/node": "^14.17.27",
"@types/vscode": "^1.34.0",
"@vscode/test-electron": "^1.6.2",
"esbuild": "^0.13.8",
"glob": "^7.1.2",
"mocha": "^5.2.0",
"tslint": "^5.16.0",
"typescript": "^4.4.4"
},
"dependencies": {
"clipboardy": "^3.0.0"
}
}