-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
183 lines (183 loc) · 10.6 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
{
"name": "coc-discord-rpc",
"version": "5.1.8",
"description": "An awesome coc-extension to get Discord Rich Presence integration with Neovim / Vim.",
"main": "dist/index.js",
"license": "MIT",
"publisher": "leonardssh",
"author": "LeonardSSH <[email protected]> (https://leonard.sh)",
"contributors": [
"xhayper <[email protected]>"
],
"homepage": "https://github.com/LeonardSSH/coc-discord-rpc#readme",
"repository": "github:LeonardSSH/coc-discord-rpc",
"bugs": {
"url": "https://github.com/LeonardSSH/coc-discord-rpc/issues"
},
"keywords": [
"discord",
"rich",
"presence",
"rich-presence",
"rpc",
"vim",
"neovim",
"nvim",
"coc",
"coc.nvim"
],
"scripts": {
"build": "tsup",
"watch": "tsup --watch",
"lint": "prettier --check src/**/*",
"format": "prettier --write src/**/*",
"prepack": "pnpm run build"
},
"devDependencies": {
"@types/git-url-parse": "^9.0.1",
"@types/node": "14.x",
"@xhayper/discord-rpc": "^1.0.16",
"coc.nvim": "0.0.82",
"git-url-parse": "^13.1.0",
"source-map-support": "^0.5.21",
"tsup": "^6.7.0",
"typescript": "^5.0.4",
"vscode-languageserver-protocol": "^3.17.3"
},
"engines": {
"coc": "*",
"node": ">=14.18.0"
},
"contributes": {
"configuration": {
"title": "RPC Configuration",
"type": "Object",
"properties": {
"rpc.clientId": {
"type": "string",
"default": "768090036633206815",
"description": "Application ClientId. Change only if you known exactly what you're doing."
},
"rpc.enabled": {
"type": "boolean",
"default": true,
"description": "Controls if the Discord Presence should show across all workspaces."
},
"rpc.detailsEditing": {
"type": "string",
"default": "{workspace_folder} {problems}",
"description": "Custom string for the details section of the rich presence\n\t- {null} will be replaced with an empty space\n\t- {file_name} will be replaced with the current file name\n\t- {workspace_folder} will be replaced with the current workspace name, if any\n\t- {current_column} will get replaced with the current column of the current line\n\t- {current_line} will get replaced with the current line number\n\t- {total_lines} 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."
},
"rpc.detailsIdling": {
"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."
},
"rpc.lowerDetailsEditing": {
"type": "string",
"default": "Working on {file_name}:{current_line}:{current_column}",
"description": "Custom string for the state section of the rich presence\n\t- {null} will be replaced with an empty space\n\t- {file_name} will be replaced with the current file name\n\t- {workspace_folder} will be replaced with the current workspace name, if any\n\t- {current_column} will get replaced with the current column of the current line\n\t- {current_line} will get replaced with the current line number\n\t- {total_lines} 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."
},
"rpc.lowerDetailsIdling": {
"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."
},
"rpc.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."
},
"rpc.smallImage": {
"type": "string",
"default": "{app_name} v{app_version}",
"description": "Custom string for the smallImageText section of the rich presence\n\t- {app_name} will get replaced with Neovim text\n\t- ${app_version} will be replaced with the installed version of Neovim."
},
"rpc.showProblems": {
"type": "boolean",
"default": true,
"description": "Controls if the RPC should show the count of problems (warnings, errors) present in your workspace."
},
"rpc.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."
},
"rpc.workspaceElapsedTime": {
"type": "boolean",
"default": false,
"description": "Controls if the RPC should display elapsed time for a workspace or a single file."
},
"rpc.ignoreWorkspaces": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "List of patterns to match workspace names that should prevent the extension from starting."
},
"rpc.detailsViewing": {
"type": "string",
"default": "In workspace {workspace_folder} {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- {file_name} will be replaced with the current file name\n\t- {workspace_folder} will be replaced with the current workspace name, if any\n\t- {current_column} will get replaced with the current column of the current line\n\t- {current_line} will get replaced with the current line number\n\t- {total_lines} 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."
},
"rpc.lowerDetailsViewing": {
"type": "string",
"default": "Viewing {file_name}",
"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- {file_name} will be replaced with the current file name\n\t- {workspace_folder} will be replaced with the current workspace name, if any\n\t- {current_column} will get replaced with the current column of the current line\n\t- {current_line} will get replaced with the current line number\n\t- {total_lines} 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."
},
"rpc.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- {current_line} will get replaced with the current line number\n\t- {total_lines} will get replaced with the total line number."
},
"rpc.checkIdle": {
"type": "boolean",
"default": true,
"description": "Whether or not to check if you are still active or idle and react accordingly."
},
"rpc.idleTimeout": {
"type": "number",
"default": 300,
"description": "How long the window should be unfocused (in seconds) to either disable rich presence or display you as idle."
},
"rpc.idleText": {
"type": "string",
"default": "Idle",
"description": "Custom string of the text displaying if you're idle when hovering over the small icon."
},
"rpc.useCWDAsFallback": {
"type": "boolean",
"default": false,
"description": "Controls if the RPC should use the current working directory as a fallback if no workspace is found."
},
"rpc.suppressNotifications": {
"type": "boolean",
"default": true,
"description": "Controls if info/warn/error messages are shown to the user."
},
"rpc.buttonEnabled": {
"type": "boolean",
"default": true,
"description": "Enable a button on your presence with a link to the Git repository you're working in."
},
"rpc.buttonActiveLabel": {
"type": "string",
"default": "View Repository",
"description": "The label to show on the button when the file you are currently editing is located in a Git repository. Set to null to disable."
},
"rpc.buttonInactiveLabel": {
"type": "string",
"default": null,
"description": "The label to show on the button when you are not editing a file in a Git repository. Set to null to disable. (Disabled by default)"
},
"rpc.buttonInactiveUrl": {
"type": "string",
"default": null,
"description": "The URL of the button when you are not editing a file in a Git repository. Set to null to disable. (Disabled by default)"
}
}
}
},
"packageManager": "[email protected]"
}