-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
364 lines (364 loc) · 10 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
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "bitwarden",
"title": "Bitwarden Vault",
"description": "Access a Bitwarden account. Requires installing the Bitwarden CLI.",
"icon": "bitwarden-512.png",
"author": "jomifepe",
"contributors": [
"daniel-stoneuk",
"andreaselia",
"pernielsentikaer",
"eth-p",
"Yamen",
"undefinedzack",
"anirudhganwal06",
"samuel_ivarsson"
],
"pastContributors": [
"pomdtr"
],
"license": "MIT",
"keywords": [
"bitwarden",
"secrets",
"security",
"passwords"
],
"categories": [
"Security"
],
"commands": [
{
"name": "search",
"title": "Search Vault",
"subtitle": "Bitwarden",
"description": "Search all items in the authenticated Bitwarden vault.",
"icon": "search.png",
"mode": "view",
"preferences": [
{
"name": "primaryAction",
"type": "dropdown",
"description": "The primary action to perform on a vault item.",
"required": false,
"title": "Primary Password Action",
"default": "copy",
"data": [
{
"title": "Paste to Active App",
"value": "paste"
},
{
"title": "Copy to Clipboard",
"value": "copy"
}
]
},
{
"name": "transientCopySearch",
"type": "dropdown",
"required": false,
"default": "passwords",
"title": "Copy Values Temporarily",
"description": "Whether values should be copied to the clipboard temporarily, and therefore omitted from the clipboard history",
"data": [
{
"title": "Always",
"value": "always"
},
{
"title": "Only Passwords",
"value": "passwords"
},
{
"title": "Never",
"value": "never"
}
]
},
{
"name": "shouldCacheVaultItems",
"type": "checkbox",
"required": false,
"default": true,
"title": "Improved Load Times",
"label": "Enable Caching",
"description": "Whether to cache vault items for faster access. This will NOT cache the actual passwords and other sensitive values, only usernames/emails and other labels."
}
]
},
{
"name": "generate-password",
"title": "Generate Password",
"subtitle": "Bitwarden",
"description": "Generate a password using Bitwarden.",
"icon": "generate-password.png",
"mode": "view",
"preferences": [
{
"name": "transientCopyGeneratePassword",
"type": "dropdown",
"required": false,
"default": "always",
"title": "Copy Values Temporarily",
"description": "Whether values should be copied to the clipboard temporarily, and therefore omitted from the clipboard history",
"data": [
{
"title": "Always",
"value": "always"
},
{
"title": "Never",
"value": "never"
}
]
}
]
},
{
"name": "generate-password-quick",
"title": "Generate Password (Quick)",
"subtitle": "Bitwarden",
"description": "Generate a password using Bitwarden and copy and/or paste it into the active app right away.",
"icon": "generate-password-quick.png",
"mode": "no-view",
"preferences": [
{
"name": "generatePasswordQuickAction",
"type": "dropdown",
"title": "Action to perform after generating",
"description": "The action performed after generating the password.",
"required": false,
"default": "copyAndPaste",
"data": [
{
"title": "Paste to Active App",
"value": "paste"
},
{
"title": "Copy to Clipboard",
"value": "copy"
},
{
"title": "Copy and Paste to Active App",
"value": "copyAndPaste"
}
]
},
{
"name": "transientCopyGeneratePasswordQuick",
"type": "dropdown",
"required": false,
"default": "always",
"title": "Copy Values Temporarily",
"description": "Whether values should be copied to the clipboard temporarily, and therefore omitted from the clipboard history",
"data": [
{
"title": "Always",
"value": "always"
},
{
"title": "Never",
"value": "never"
}
]
}
]
},
{
"name": "create-folder",
"title": "Create Folder",
"subtitle": "Bitwarden",
"description": "Create a folder in the authenticated Bitwarden vault.",
"icon": "create-folder.png",
"mode": "view"
},
{
"name": "lock-vault",
"title": "Lock Vault",
"subtitle": "Bitwarden",
"description": "Lock your bitwarden vault",
"icon": "lock-vault.png",
"mode": "no-view"
},
{
"name": "logout-vault",
"title": "Logout",
"subtitle": "Bitwarden",
"description": "Logout from your bitwarden vault account",
"icon": "logout-vault.png",
"mode": "no-view",
"keywords": [
"log out",
"account"
]
}
],
"preferences": [
{
"name": "clientId",
"type": "password",
"required": true,
"title": "Client ID",
"description": "The client_id value seen in the My Account section of a Bitwarden web vault.",
"placeholder": "client_id"
},
{
"name": "clientSecret",
"type": "password",
"required": true,
"title": "Client Secret",
"description": "The client_secret value seen in the My Account section of a Bitwarden web vault.",
"placeholder": "client_secret"
},
{
"name": "repromptIgnoreDuration",
"type": "dropdown",
"required": false,
"title": "Vault Timeout",
"description": "The amount of time before the password must be re-entered to access the vault again.",
"default": "900000",
"data": [
{
"title": "Immediately",
"value": "0"
},
{
"title": "1 Minute",
"value": "60000"
},
{
"title": "5 Minutes",
"value": "300000"
},
{
"title": "15 Minutes",
"value": "900000"
},
{
"title": "30 Minutes",
"value": "1800000"
},
{
"title": "1 Hour",
"value": "3600000"
},
{
"title": "4 Hours",
"value": "14400000"
},
{
"title": "8 Hours",
"value": "28800000"
},
{
"title": "1 Day",
"value": "86400000"
},
{
"title": "On system lock (experimental)",
"value": "-2"
},
{
"title": "On system sleep (experimental)",
"value": "-3"
},
{
"title": "Never",
"value": "-1"
}
]
},
{
"name": "fetchFavicons",
"type": "checkbox",
"required": true,
"default": true,
"title": "Privacy",
"label": "Fetch Vault Items Icons",
"description": "Whether to use a remote service owned by Bitwarden to fetch icons for vault items. If unchecked, built-in icons will be used."
},
{
"name": "cliPath",
"type": "textfield",
"required": false,
"title": "Bitwarden CLI Path",
"description": "If you wish to use your own CLI, type here the location of your local installation. The typical location of it is '/usr/local/bin/bw' on Intel and '/opt/homebrew/bin/bw' on M1/Apple Silicon macs.",
"placeholder": "CLI Path"
},
{
"name": "serverUrl",
"type": "textfield",
"required": false,
"default": "",
"title": "Bitwarden Server URL",
"description": "Optional: URL to use for self-hosted servers.",
"placeholder": "https://bitwarden.com"
},
{
"name": "serverCertsPath",
"type": "textfield",
"required": false,
"title": "Self-signed Certificates Path",
"description": "Advanced: Path to self-signed TLS certificate for self-hosted instances.",
"placeholder": "absolute/path/to/your/certs.pem"
},
{
"name": "windowActionOnCopy",
"type": "dropdown",
"required": false,
"title": "Window Behaviour On Copy",
"description": "What to do with the window when copying a value to the clipboard.",
"default": "close",
"data": [
{
"title": "Keep Open",
"value": "keepOpen"
},
{
"title": "Close",
"value": "close"
},
{
"title": "Close And Exit Command",
"value": "closeAndPopToRoot"
}
]
}
],
"dependencies": {
"@raycast/api": "^1.67.1",
"@raycast/utils": "^1.12.4",
"execa": "^7.0.0",
"node-fetch": "^3.3.2",
"node-stream-zip": "^1.15.0"
},
"devDependencies": {
"@faker-js/faker": "^7.6.0",
"@types/jest": "^29.5.0",
"@types/node": "~18.14.2",
"@types/react": "^18.0.28",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react-hooks": "^4.6.0",
"jest": "^29.5.0",
"prettier": "^2.8.4",
"react-devtools": "^4.27.2",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "^5.3.3"
},
"scripts": {
"build": "ray build -e dist",
"dev": "ray develop",
"fix-lint": "ray lint --fix",
"lint": "ray lint",
"test": "jest --verbose",
"test:watch": "jest --watch"
}
}