forked from leonardssh/vscord
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
253 lines (253 loc) · 13.4 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
{
"name": "vscord",
"displayName": "Discord Rich Presence",
"version": "3.2.3",
"description": "😎 Another awesome and fully customizable VS Code extension to get Discord Rich Presence integration.",
"main": "dist/extension.js",
"private": true,
"icon": "assets/icon.png",
"galleryBanner": {
"color": "#223037",
"theme": "dark"
},
"scripts": {
"lint": "eslint src --ext ts --fix",
"format": "prettier --write src/**/*.ts",
"format:check": "prettier --check src/**/*.ts",
"update": "yarn upgrade-interactive --latest",
"prebuild": "yarn clean && yarn format && yarn lint",
"build": "webpack --mode production",
"vscode:prepublish": "yarn build",
"clean": "rimraf dist",
"watch": "tsc -b src -w",
"commit": "git-cz",
"cz": "git-cz",
"postinstall": "husky install .github/husky"
},
"activationEvents": [
"*"
],
"extensionKind": [
"ui"
],
"repository": {
"type": "git",
"url": "https://github.com/LeonardSSH/vscord.git"
},
"author": "LeonardSSH <[email protected]> (https://leonard.sh)",
"license": "MIT",
"publisher": "LeonardSSH",
"bugs": {
"url": "https://github.com/LeonardSSH/vscord/issues"
},
"homepage": "https://github.com/LeonardSSH/vscord#readme",
"dependencies": {
"bufferutil": "^4.0.3",
"discord-rpc": "^3.2.0",
"electron": "^11.2.3",
"utf-8-validate": "^5.0.4"
},
"optionalDependencies": {
"register-scheme": "devsnek/node-register-scheme"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@types/discord-rpc": "^3.0.4",
"@types/node": "^14.14.27",
"@types/vscode": "^1.52.0",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"clean-webpack-plugin": "^3.0.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.20.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^5.0.9",
"lint-staged": "^10.5.4",
"prettier": "^2.1.2",
"pretty-quick": "^3.1.0",
"rimraf": "^3.0.2",
"terser-webpack-plugin": "^5.1.1",
"ts-loader": "^8.0.17",
"typescript": "^4.1.5",
"vscode-nls-dev": "^3.3.2",
"webpack": "^5.21.2",
"webpack-cli": "^4.5.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{mjs,js,ts}": "eslint --fix --ext mjs,js,ts"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"keywords": [
"discord",
"vscode",
"rich",
"presence",
"rich presence",
"rpc"
],
"categories": [
"Other"
],
"engines": {
"vscode": "^1.52.0"
},
"contributes": {
"commands": [
{
"command": "rpc.enable",
"title": "Enables RPC in the current workspace.",
"category": "Discord Rich Presence"
},
{
"command": "rpc.disable",
"title": "Disables RPC in the current workspace",
"category": "Discord Rich Presence"
},
{
"command": "rpc.disconnect",
"title": "Disconnects you from Discord Gateway.",
"category": "Discord Rich Presence"
},
{
"command": "rpc.reconnect",
"title": "Reconnects you to Discord Gateway.",
"category": "Discord Rich Presence"
}
],
"configuration": {
"title": "VSCord Configuration",
"type": "Object",
"properties": {
"VSCord.id": {
"type": "string",
"default": "782685898163617802",
"description": "Application ID. Change only if you known exactly what you're doing."
},
"VSCord.appName": {
"type": "string",
"enum": [
"Code",
"Visual Studio Code"
],
"default": "Code",
"description": "Choose the name you want the application to use."
},
"VSCord.enabled": {
"type": "boolean",
"default": true,
"description": "Controls if the Discord Rich Presence should show across all workspaces."
},
"VSCord.detailsEditing": {
"type": "string",
"default": "In {workspace} {problems}",
"description": "Custom string for the details section of the rich presence\n\t- {null} will be replaced with an empty space\n\t- {filename} will be replaced with the current file name\n\t- {dirname} will get replaced with the folder name that has the current file\n\t- {fulldirname} will get replaced with the full directory name without the current file name\n\t- {workspace} will be replaced with the current workspace name, if any\n\t- {workspaceFolder} will be replaced with the currently accessed workspace folder, if any\n\t- {workspaceAndFolder} will be replaced with the currently accessed workspace and workspace folder like this: 'Workspace - WorkspaceFolder'\n\t- {currentcolumn} will get replaced with the current column of the current line\n\t- {currentline} will get replaced with the current line number\n\t- {totallines} will get replaced with the total line number\n\t- {problems} will be replaced with the count of problems (warnings, errors) present in your workspace."
},
"VSCord.detailsIdle": {
"type": "string",
"default": "Idling",
"description": "Custom string for the details section of the rich presence when idling\n\t- {null} will be replaced with an empty space."
},
"VSCord.detailsDebugging": {
"type": "string",
"default": "Debugging {filename}",
"description": "Custom string for the details section of the rich presence when debugging\n\t- {null} will be replaced with an empty space\n\t- {filename} will be replaced with the current file name\n\t- {dirname} will get replaced with the folder name that has the current file\n\t- {fulldirname} will get replaced with the full directory name without the current file name\n\t- {workspace} will be replaced with the current workspace name, if any\n\t- {workspaceFolder} will be replaced with the currently accessed workspace folder, if any\n\t- {workspaceAndFolder} will be replaced with the currently accessed workspace and workspace folder like this: 'Workspace - WorkspaceFolder'\n\t- {currentcolumn} will get replaced with the current column of the current line\n\t- {currentline} will get replaced with the current line number\n\t- {totallines} will get replaced with the total line number\n\t- {problems} will be replaced with the count of problems (warnings, errors) present in your workspace."
},
"VSCord.detailsViewing": {
"type": "string",
"default": "In {workspace} {problems}",
"description": "Custom string for the details section of the rich presence when viewing\n\t- {null} will be replaced with an empty space\n\t- {filename} will be replaced with the current file name\n\t- {dirname} will get replaced with the folder name that has the current file\n\t- {fulldirname} will get replaced with the full directory name without the current file name\n\t- {workspace} will be replaced with the current workspace name, if any\n\t- {workspaceFolder} will be replaced with the currently accessed workspace folder, if any\n\t- {workspaceAndFolder} will be replaced with the currently accessed workspace and workspace folder like this: 'Workspace - WorkspaceFolder'\n\t- {currentcolumn} will get replaced with the current column of the current line\n\t- {currentline} will get replaced with the current line number\n\t- {totallines} will get replaced with the total line number\n\t- {problems} will be replaced with the count of problems (warnings, errors) present in your workspace."
},
"VSCord.lowerDetailsEditing": {
"type": "string",
"default": "Working on {filename}:{currentline}:{currentcolumn}",
"description": "Custom string for the state section of the rich presence\n\t- {null} will be replaced with an empty space\n\t- {filename} will be replaced with the current file name\n\t- {dirname} will get replaced with the folder name that has the current file\n\t- {fulldirname} will get replaced with the full directory name without the current file name\n\t- {workspace} will be replaced with the current workspace name, if any\n\t- {workspaceFolder} will be replaced with the currently accessed workspace folder, if any\n\t- {workspaceAndFolder} will be replaced with the currently accessed workspace and workspace folder like this: 'Workspace - WorkspaceFolder'\n\t- {currentcolumn} will get replaced with the current column of the current line\n\t- {currentline} will get replaced with the current line number\n\t- {totallines} will get replaced with the total line number\n\t- {problems} will be replaced with the count of problems (warnings, errors) present in your workspace."
},
"VSCord.lowerDetailsIdle": {
"type": "string",
"default": "Idling",
"description": "Custom string for the state section of the rich presence when idling\n\t- {null} will be replaced with an empty space."
},
"VSCord.lowerDetailsDebugging": {
"type": "string",
"default": "Idling",
"description": "Custom string for the state section of the rich presence when debugging\n\t- {null} will be replaced with an empty space\n\t- {filename} will be replaced with the current file name\n\t- {dirname} will get replaced with the folder name that has the current file\n\t- {fulldirname} will get replaced with the full directory name without the current file name\n\t- {workspace} will be replaced with the current workspace name, if any\n\t- {workspaceFolder} will be replaced with the currently accessed workspace folder, if any\n\t- {workspaceAndFolder} will be replaced with the currently accessed workspace and workspace folder like this: 'Workspace - WorkspaceFolder'\n\t- {currentcolumn} will get replaced with the current column of the current line\n\t- {currentline} will get replaced with the current line number\n\t- {totallines} will get replaced with the total line number\n\t- {problems} will be replaced with the count of problems (warnings, errors) present in your workspace."
},
"VSCord.lowerDetailsViewing": {
"type": "string",
"default": "Viewing {filename}",
"description": "Custom string for the state section of the rich presence when viewing\n\t- {null} will be replaced with an empty space\n\t- {filename} will be replaced with the current file name\n\t- {dirname} will get replaced with the folder name that has the current file\n\t- {fulldirname} will get replaced with the full directory name without the current file name\n\t- {workspace} will be replaced with the current workspace name, if any\n\t- {workspaceFolder} will be replaced with the currently accessed workspace folder, if any\n\t- {workspaceAndFolder} will be replaced with the currently accessed workspace and workspace folder like this: 'Workspace - WorkspaceFolder'\n\t- {currentcolumn} will get replaced with the current column of the current line\n\t- {currentline} will get replaced with the current line number\n\t- {totallines} will get replaced with the total line number\n\t- {problems} will be replaced with the count of problems (warnings, errors) present in your workspace."
},
"VSCord.lowerDetailsNotFound": {
"type": "string",
"default": "No workspace.",
"description": "Custom string for the state section of the rich presence when no workspace is found.\n- {null} will be replaced with an empty space\n\t- {currentline} will get replaced with the current line number\n\t- {totallines} will get replaced with the total line number."
},
"VSCord.largeImage": {
"type": "string",
"default": "Editing a {LANG} file",
"description": "Custom string for the largeImageText section of the rich presence\n\t- {lang} will be replaced with the lowercased language ID\n\t- {Lang} will be replaced with the language ID, first letter being uppercase\n\t- {LANG} will be replaced with the uppercased language ID."
},
"VSCord.largeImageIdle": {
"type": "string",
"default": "Idling",
"description": "Custom string for the largeImageText section of the rich presence when idling."
},
"VSCord.smallImage": {
"type": "string",
"default": "{appname}",
"description": "Custom string for the smallImageText section of the rich presence\n\t- {appname} will get replaced with the current Visual Studio Code version."
},
"VSCord.workspaceElapsedTime": {
"type": "boolean",
"default": false,
"description": "Controls if the RPC should display elapsed time for a workspace or a single file."
},
"VSCord.showProblems": {
"type": "boolean",
"default": true,
"description": "Controls if the RPC should show the count of problems (warnings, errors) present in your workspace."
},
"VSCord.problemsText": {
"type": "string",
"default": "- {count} problems found",
"description": "Custom string of the text displaying the amount of problems in your workspace\n\t- {count} will be replaced by the respective amount of problems."
},
"VSCord.ignoreWorkspaces": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "List of patterns to match workspace names that should prevent the extension from starting."
},
"VSCord.checkIdle": {
"type": "boolean",
"default": true,
"description": "Whether or not to check if you are still active or idle and react accordingly."
},
"VSCord.idleTimeout": {
"type": "number",
"default": 60,
"description": "How long the window should be unfocused (in seconds) to either disable rich presence or display you as idle."
},
"VSCord.idleText": {
"type": "string",
"default": "Idle",
"description": "Custom string of the text displaying if you're idle when hovering over the small icon."
}
}
}
}
}