forked from wdhongtw/vscode-gpg-indicator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
171 lines (171 loc) · 6.23 KB
/
Copy pathpackage.json
File metadata and controls
171 lines (171 loc) · 6.23 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
{
"name": "gpg-indicator",
"displayName": "GPG Indicator",
"description": "Status indicator and unlocker for GPG signing key",
"keywords": [
"pgp",
"gpg",
"commit",
"multi-root ready"
],
"author": {
"name": "Weida Hong",
"url": "https://blog.bitisle.net"
},
"contributors": [
{
"name": "Richard Allen",
"url": "https://www.linkedin.com/in/drupalista/"
}
],
"version": "0.8.0",
"publisher": "wdhongtw",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"icon": "images/icon-color.png",
"main": "./dist/extension.js",
"l10n": "./l10n",
"contributes": {
"commands": [
{
"command": "gpgIndicator.unlockCurrentKey",
"title": "%gpgIndicator.l10n.commands.unlockCurrentKey%",
"category": "GPG",
"icon": "$(unlock)"
},
{
"command": "gpgIndicator.deletePassphraseCache",
"title": "%gpgIndicator.l10n.commands.deletePassphraseCache%",
"category": "GPG",
"icon": "$(close)"
},
{
"command": "gpgIndicator.clearPassphraseCache",
"title": "%gpgIndicator.l10n.commands.clearPassphraseCache%",
"category": "GPG",
"icon": "$(clear-all)"
},
{
"command": "gpgIndicator.listPassphraseCache",
"title": "%gpgIndicator.l10n.commands.listPassphraseCache%",
"category": "GPG",
"icon": "$(list-unordered)"
}
],
"menus": {
"commandPalette": [
{
"command": "gpgIndicator.unlockCurrentKey"
},
{
"command": "gpgIndicator.deletePassphraseCache",
"when": "config.gpgIndicator.enablePassphraseCache"
},
{
"command": "gpgIndicator.listPassphraseCache",
"when": "config.gpgIndicator.enablePassphraseCache"
},
{
"command": "gpgIndicator.clearPassphraseCache",
"when": "config.gpgIndicator.enablePassphraseCache"
}
]
},
"configuration": {
"title": "GPG Indicator",
"properties": {
"gpgIndicator.statusRefreshInterval": {
"type": "number",
"default": 60,
"minimum": 15,
"markdownDescription": "%gpgIndicator.l10n.configuration.statusRefreshInterval%"
},
"gpgIndicator.outputLogLevel": {
"type": "string",
"default": "info",
"markdownDescription": "%gpgIndicator.l10n.configuration.outputLogLevel%",
"enum": [
"error",
"warning",
"info"
]
},
"gpgIndicator.enablePassphraseCache": {
"type": "boolean",
"default": false,
"markdownDescription": "%gpgIndicator.l10n.configuration.enableSecurelyPassphraseCache%"
},
"gpgIndicator.statusStyle": {
"type": "string",
"default": "userId",
"markdownDescription": "%gpgIndicator.l10n.configuration.statusStyle%",
"enum": [
"fingerprintWithUserId",
"fingerprint",
"userId"
],
"markdownEnumDescriptions": [
"%gpgIndicator.l10n.configuration.statusStyle.enumDescriptions.fingerprintWithUserId%",
"%gpgIndicator.l10n.configuration.statusStyle.enumDescriptions.fingerprint%",
"%gpgIndicator.l10n.configuration.statusStyle.enumDescriptions.userId%"
]
},
"gpgIndicator.binaryHost": {
"type": "string",
"default": "linux",
"markdownDescription": "Determines which environment the GPG tools are located at.\n This setting also tells GPG Indicator how to interpret the output from GPG tools.",
"markdownEnumDescriptions": [
"GPG tools are installed in a Linux environment.\n GPG Indicator will execute native Linux commands.",
"GPG tools are installed in a Windows environment.\n GPG Indicator will look for programs ending with a `.exe` extension."
],
"enum": [
"linux",
"windows"
]
}
}
}
},
"capabilities": {
"untrustedWorkspaces": {
"supported": "limited",
"description": "%gpgIndicator.l10n.capabilities.untrustedWorkspaces%",
"restrictedConfigurations": [
"gpgIndicator.statusRefreshInterval",
"gpgIndicator.outputLogLevel",
"gpgIndicator.enablePassphraseCache",
"gpgIndicator.statusStyle"
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc --project ./",
"lint": "eslint src --ext ts",
"watch": "tsc --watch --project ./",
"test": "npm run compile && jest"
},
"devDependencies": {
"@tsconfig/node20": "^20.1.2",
"@types/jest": "^29.5.11",
"@types/node": "^20.10.6",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"@vscode/l10n-dev": "^0.0.31",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"typescript": "^5.3.3"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/wdhongtw/vscode-gpg-indicator"
},
"preview": false
}