-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
257 lines (257 loc) · 7.82 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
254
255
256
257
{
"name": "obs-developer-util",
"displayName": "OBS-DeveloperUtil",
"icon": "images/icon.png",
"galleryBanner": {
"color": "#C80000",
"theme": "dark"
},
"description": "use vscode drive obs.",
"keywords": [
"obs"
],
"author": {
"name": "GoooIce",
"url": "https://github.com/GoooIce"
},
"publisher": "goooice",
"license": "SEE LICENSE IN LICENSE",
"homepage": "https://github.com/GoooIce/obs-developer-util/blob/main/README.md",
"bugs": {
"url": "https://github.com/GoooIce/obs-developer-util/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/GoooIce/obs-developer-util.git"
},
"version": "1.1.3",
"engines": {
"vscode": "^1.67.0"
},
"categories": [
"Other"
],
"extensionKind": [
"ui"
],
"extensionDependencies": [
"johnpapa.vscode-peacock",
"vsls-contrib.codetour"
],
"activationEvents": [
"workspaceContains:*"
],
"main": "./out/src/extension.js",
"contributes": {
"configuration": [
{
"title": "OBS Developer Util",
"properties": {
"OBS-DeveloperUtil.address": {
"type": "string",
"default": "localhost:4455",
"description": "OBS Websocket address"
},
"OBS-DeveloperUtil.visualCues": {
"type": "string",
"default": "timer",
"description": "you can provide yourself additional visual cues to record",
"enum": [
"timer",
"color"
],
"enumDescriptions": [
"an timer animal",
"change vscode color 3 times"
]
},
"OBS-DeveloperUtil.autoConnect": {
"type": "boolean",
"default": false,
"description": "If active, this extension will try to automatically connect to the OBS Websocket endpoint"
},
"OBS-DeveloperUtil.cleanTerminal": {
"type": "boolean",
"default": false,
"description": "OBS Terminal would be clean"
},
"OBS-DeveloperUtil.timeSpeed": {
"type": "number",
"default": 10000,
"description": "**Unit: ms, Default: 10000ms**, When VSCode use ZenMode OBS will record by this speed, just like time lapse"
},
"OBS-DeveloperUtil.stopRecordWithTour": {
"type": "boolean",
"default": true,
"description": "If active, this extension will try to automatically stop record when tour finnish"
}
}
}
],
"viewsContainers": {
"panel": [
{
"id": "obs-explorer",
"title": "OBS Explorer",
"icon": "$(vm)"
}
]
},
"views": {
"obs-explorer": [
{
"id": "OBS-DeveloperUtil-control",
"name": "Control Panel"
},
{
"id": "OBS-DeveloperUtil-bullet",
"name": "Bullet"
}
]
},
"viewsWelcome": [
{
"view": "OBS-DeveloperUtil-control",
"contents": "In order to use obs features, you can connect a obs from a WebSocket URL.\n[Open WebSocket URL](command:OBS-DeveloperUtil.helloBar)\nTo learn more about how to use obs and source control in VS Code [read our docs](https://miantu.net).",
"when": "true"
},
{
"view": "OBS-DeveloperUtil-bullet",
"contents": "In order to use bullet features, you can connect from a Live Chat URL.\n[Open Bilibili Live URL](command:OBS-DeveloperUtil.helloBar)\n"
}
],
"commands": [
{
"command": "OBS-DeveloperUtil.tipWithPanel",
"title": "Before record tip panel message use lottie",
"category": "OBS Commands"
},
{
"command": "OBS-DeveloperUtil.tipWithColors",
"title": "Before record tip color message use peacock",
"category": "OBS Commands"
},
{
"command": "OBS-DeveloperUtil.connect",
"title": "connect obs",
"category": "OBS Commands"
},
{
"command": "OBS-DeveloperUtil.reidentify",
"title": "reidentify obs",
"category": "OBS Commands"
},
{
"command": "OBS-DeveloperUtil.startRecord",
"title": "obs start record",
"category": "OBS Commands"
},
{
"command": "OBS-DeveloperUtil.startRecordWithVideo",
"title": "obs start record with video",
"category": "OBS Commands"
},
{
"command": "OBS-DeveloperUtil.stopRecord",
"title": "obs stop record",
"category": "OBS Commands"
},
{
"command": "OBS-DeveloperUtil.stopRecordWithVideo",
"title": "obs stop record with video",
"category": "OBS Commands"
},
{
"command": "OBS-DeveloperUtil.toggleZenMode",
"title": "toggle obs time lapse record with video",
"category": "OBS Commands",
"when": "OBS-DeveloperUtil.remoteOBSidentified"
},
{
"command": "OBS-DeveloperUtil.exitZenMode",
"title": "exit obs time lapse record with video",
"category": "OBS Commands",
"when": "OBS-DeveloperUtil.remoteOBSidentified"
}
],
"statusBarItems": [
{
"command": "OBS-DeveloperUtil.statusBar",
"text": "$(megaphone) this line(s) selected",
"alignment": "right"
}
],
"keybindings": [
{
"command": "OBS-DeveloperUtil.toggleZenMode",
"key": "Ctrl+K Z"
},
{
"command": "OBS-DeveloperUtil.exitZenMode",
"key": "Escape Escape"
}
]
},
"scripts": {
"build:webview-ui": "yarn vite build -c ./webview-ui/vite.config.ts",
"build:emptyWebview-ui": "yarn vite build -c ./webview-ui/vite.config.ts --emptyOutDir",
"vscode:prepublish": "yarn run compile",
"compile": "yarn run build:emptyWebview-ui && yarn esbuild --external:keytar --define:RELEASE=true",
"compile:test": "tsc -p ./",
"watch": "tsc -watch -p ./",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/src/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "yarn run esbuild-base --sourcemap",
"esbuild-watch": "yarn run esbuild-base --sourcemap --watch",
"pretest:e2e": "yarn run compile && yarn run lint",
"pretest": "yarn run compile:test && yarn run lint --fix",
"lint": "eslint src --ext ts",
"test:e2e": "node ./out/src/test/runTest.js",
"test": "jest",
"commit": "git add -A && git commit",
"revert": "git reset --hard",
"tcr": "yarn run test && yarn run commit || yarn run revert",
"deploy": "vsce publish --yarn",
"pre-deploy": "vsce publish --pre-release --yarn"
},
"devDependencies": {
"@types/debug": "^4.1.7",
"@types/glob": "^7.2.0",
"@types/jest": "^27.0.1",
"@types/keytar": "^4.4.2",
"@types/mocha": "^9.1.1",
"@types/node": "16.11.36",
"@types/uuid": "^8.3.4",
"@types/vscode": "^1.67.0",
"@types/vscode-webview": "^1.57.0",
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"@vitejs/plugin-legacy": "^2.0.1",
"@vscode/test-electron": "^2.1.3",
"esbuild": "^0.15.7",
"eslint": "^8.14.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^26.4.6",
"eslint-plugin-prettier": "^4.0.0",
"glob": "^8.0.1",
"jest": "^27.2.0",
"mocha": "^9.2.2",
"prettier": "^2.6.2",
"rimraf": "^3.0.2",
"terser": "^5.14.2",
"ts-jest": "^27.0.5",
"typescript": "^4.6.4",
"vite": "^3.0.8",
"vsce": "^2.10.0"
},
"dependencies": {
"@lottiefiles/lottie-player": "^1.5.7",
"@vscode/webview-ui-toolkit": "^1.0.0",
"keytar": "^7.9.0",
"rxjs": "^7.5.5",
"type-fest": "^2.17.0",
"uuid": "^8.3.2",
"ws": "^8.7.0"
}
}