-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
233 lines (233 loc) · 6.67 KB
/
Copy pathpackage.json
File metadata and controls
233 lines (233 loc) · 6.67 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
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
{
"name": "streamportal",
"displayName": "StreamPortal - Twitch Chat Integration",
"description": "Seamlessly integrate Twitch chat into VSCode for streamers. Real-time chat, OAuth authentication, channel switching, and more!",
"version": "0.4.4",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"keywords": [
"twitch",
"streaming",
"chat",
"chatroom",
"live",
"irc",
"streamer",
"oauth",
"realtime",
"webview"
],
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "streamPortal.connect",
"title": "Connect to Channel",
"category": "StreamPortal",
"icon": "$(broadcast)"
},
{
"command": "streamPortal.disconnect",
"title": "Disconnect",
"category": "StreamPortal",
"icon": "$(debug-disconnect)"
},
{
"command": "streamPortal.sendMessage",
"title": "Send Message",
"category": "StreamPortal",
"icon": "$(comment)"
},
{
"command": "streamPortal.logout",
"title": "Logout",
"category": "StreamPortal",
"icon": "$(sign-out)"
}
],
"views": {
"explorer": [
{
"type": "webview",
"id": "streamPortal.chatPanel",
"name": "StreamPortal Chat",
"when": "true",
"icon": "$(broadcast)",
"contextualTitle": "StreamPortal"
}
]
},
"viewsWelcome": [
{
"view": "streamPortal.chatPanel",
"contents": "Welcome to StreamPortal! 🎮\n\nTo get started, you need to configure your Twitch application credentials.\n\n[Open Settings](command:workbench.action.openSettings?%5B%22streamPortal%22%5D)\n\nOnce configured, click 'Authenticate with Twitch' in the chat panel to begin.\n\n[Learn More](https://github.com/offbeat-studio/stream-portal#readme)"
}
],
"configuration": {
"title": "StreamPortal",
"properties": {
"streamPortal.username": {
"type": "string",
"default": "",
"description": "Your Twitch username (required)",
"order": 1
},
"streamPortal.clientId": {
"type": "string",
"default": "",
"description": "Twitch application Client ID (required for OAuth)",
"order": 2
},
"streamPortal.clientSecret": {
"type": "string",
"default": "",
"description": "Twitch application Client Secret (required for OAuth)",
"order": 3
},
"streamPortal.redirectUri": {
"type": "string",
"default": "http://localhost:7777/auth/callback",
"description": "OAuth redirect URI (must match Twitch app settings)",
"order": 4
},
"streamPortal.autoConnect": {
"type": "boolean",
"default": false,
"description": "Automatically connect to last channel on extension startup",
"order": 5
},
"streamPortal.recentChannels": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Recently connected channels (managed automatically)",
"order": 6
},
"streamPortal.fontSize": {
"type": "number",
"default": 14,
"minimum": 12,
"maximum": 20,
"description": "Chat message font size",
"order": 7
},
"streamPortal.showTimestamps": {
"type": "boolean",
"default": true,
"description": "Show message timestamps",
"order": 8
},
"streamPortal.showBadges": {
"type": "boolean",
"default": true,
"description": "Show user badges",
"order": 9
},
"streamPortal.autoScroll": {
"type": "boolean",
"default": true,
"description": "Auto-scroll to new messages",
"order": 10
},
"streamPortal.soundNotifications": {
"type": "boolean",
"default": false,
"description": "Play sound for new messages",
"order": 11
},
"streamPortal.chatTheme": {
"type": "string",
"enum": ["original", "monochrome"],
"default": "original",
"description": "Chat color scheme: original Twitch colors or single color",
"enumDescriptions": [
"Twitch Original Colors",
"Single Color"
],
"order": 12
},
"streamPortal.plainTextEmoji": {
"type": "boolean",
"default": false,
"description": "Convert emojis to plain text format",
"order": 13
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "npx jest",
"test:watch": "npx jest --watch",
"test:coverage": "npx jest --coverage",
"package": "vsce package",
"dev": "code --extensionDevelopmentHost=.",
"clean": "rm -rf out node_modules"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/sinon": "^17.0.4",
"@types/vscode": "^1.85.0",
"@types/ws": "^8.18.1",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.8",
"@vscode/vsce": "^2.22.0",
"eslint": "^8.56.0",
"jest": "^29.7.0",
"nyc": "^17.1.0",
"sinon": "^21.0.0",
"ts-jest": "^29.4.0",
"typescript": "^5.3.3"
},
"repository": {
"type": "git",
"url": "https://github.com/offbeat-studio/stream-portal.git"
},
"bugs": {
"url": "https://github.com/offbeat-studio/stream-portal/issues"
},
"homepage": "https://github.com/offbeat-studio/stream-portal#readme",
"license": "MIT",
"author": {
"name": "musingfox",
"email": "nick12703990@gmail.com"
},
"publisher": "musingfox",
"icon": "icon.png",
"galleryBanner": {
"color": "#9146FF",
"theme": "dark"
},
"badges": [
{
"url": "https://img.shields.io/github/stars/offbeat-studio/stream-portal",
"href": "https://github.com/offbeat-studio/stream-portal/stargazers",
"description": "Star on GitHub"
}
],
"qna": "https://github.com/offbeat-studio/stream-portal/discussions",
"sponsor": {
"url": "https://github.com/sponsors/offbeat-studio"
},
"dependencies": {
"node-fetch": "^3.3.2",
"ws": "^8.18.3"
}
}