Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
164 lines (164 loc) · 4.55 KB
/
Copy pathpackage.json
File metadata and controls
164 lines (164 loc) · 4.55 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
{
"name": "statuscode",
"displayName": "StatusCode - Discord Rich Presence",
"description": "Show your Visual Studio Code activity on Discord with beautiful Rich Presence",
"version": "1.3.0",
"publisher": "extrise",
"author": {
"name": "Extrise",
"url": "https://github.com/extrise"
},
"license": "MIT",
"icon": "assets/icon.png",
"repository": {
"type": "git",
"url": "https://github.com/extrise/statuscode"
},
"bugs": {
"url": "https://github.com/extrise/statuscode/issues"
},
"homepage": "https://github.com/extrise/statuscode#readme",
"engines": {
"vscode": "^1.138.0"
},
"categories": [
"Other"
],
"keywords": [
"discord",
"rich presence",
"activity",
"status",
"rpc",
"game activity",
"vscode"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "statuscode.enable",
"title": "StatusCode: Enable Rich Presence"
},
{
"command": "statuscode.disable",
"title": "StatusCode: Disable Rich Presence"
},
{
"command": "statuscode.reconnect",
"title": "StatusCode: Reconnect to Discord"
}
],
"configuration": {
"title": "StatusCode",
"properties": {
"statuscode.enabled": {
"type": "boolean",
"default": true,
"description": "Enable or disable Discord Rich Presence"
},
"statuscode.details": {
"type": "string",
"default": "Coding in Visual Studio Code",
"description": "Custom details text shown in Discord"
},
"statuscode.state": {
"type": "string",
"default": "Editing {filename}",
"description": "Custom state text. Use {filename}, {workspace}, {language}"
},
"statuscode.largeImageText": {
"type": "string",
"default": "Visual Studio Code",
"description": "Text shown when hovering over the large image"
},
"statuscode.showFileName": {
"type": "boolean",
"default": true,
"description": "Show currently editing file name"
},
"statuscode.showWorkspace": {
"type": "boolean",
"default": true,
"description": "Show workspace/folder name"
},
"statuscode.showLanguage": {
"type": "boolean",
"default": true,
"description": "Show programming language icon"
},
"statuscode.showElapsedTime": {
"type": "boolean",
"default": true,
"description": "Show elapsed time since VS Code started"
},
"statuscode.showFileIcon": {
"type": "boolean",
"default": true,
"description": "Show file type icon as small image"
},
"statuscode.showGitHubRepo": {
"type": "boolean",
"default": true,
"description": "Show GitHub repository URL with clickable button"
},
"statuscode.showIssues": {
"type": "boolean",
"default": true,
"description": "Show error and warning count for current file"
},
"statuscode.idleTimeout": {
"type": "number",
"default": 0,
"description": "Hide presence after X minutes of inactivity (0 = disabled)"
},
"statuscode.reconnectInterval": {
"type": "number",
"default": 5000,
"description": "Discord reconnection interval in milliseconds"
},
"statuscode.updateInterval": {
"type": "number",
"default": 15000,
"description": "Activity update interval in milliseconds"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc",
"watch": "tsc -watch",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"test": "tsc && node --test \"out/test/**/*.test.js\"",
"package": "vsce package",
"publish": "vsce publish"
},
"devDependencies": {
"@types/node": "^26.6.5",
"@types/vscode": "^1.138.0",
"@vscode/vsce": "^4.0.0",
"eslint": "^10.13.0",
"prettier": "^3.9.10",
"typescript": "^6.0.3",
"typescript-eslint": "^8.72.0"
},
"dependencies": {
"discord-rpc": "^4.0.1"
},
"allowScripts": {
"@vscode/vsce-sign": true,
"register-scheme": true
},
"overrides": {
"@azure/msal-node": "^7.1.1",
"ws": "^7.5.11",
"qs": "^6.16.1"
}
}