-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
185 lines (185 loc) · 4.53 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
{
"name": "obs-switcher",
"displayName": "OBS Switcher",
"description": "Switch OBS scenes when opening specific files",
"version": "0.1.4",
"author": {
"name": "Thomas Kosiewski",
"url": "https://github.com/ThomasK33"
},
"contributors": [
{
"name": "quiquelhappy",
"url": "http://github.com/quiquelhappy"
}
],
"publisher": "thomask33",
"icon": "icon.png",
"preview": true,
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ThomasK33/vscode-obs-switcher.git"
},
"engines": {
"vscode": "^1.70.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/main.js",
"contributes": {
"commands": [
{
"title": "OBS Switcher: Connect to OBS",
"command": "obsSwitcher.connect"
},
{
"title": "OBS Switcher: Disconnect from OBS",
"command": "obsSwitcher.disconnect"
},
{
"title": "OBS Switcher: Toggle connection to OBS",
"command": "obsSwitcher.toggle"
},
{
"title": "OBS Switcher: Set OBS password",
"command": "obsSwitcher.setPassword"
},
{
"title": "OBS Switcher: Delete stored OBS password",
"command": "obsSwitcher.deletePassword"
},
{
"title": "OBS Switcher: Add selected file(s) to secret files list",
"command": "obsSwitcher.addFile"
},
{
"title": "OBS Switcher: Remove file(s) from secret files list",
"command": "obsSwitcher.removeFile"
},
{
"title": "OBS Switcher: Reset to last active scene",
"command": "obsSwitcher.resetScene"
}
],
"menus": {
"commandPalette": [
{
"when": "false",
"command": "obsSwitcher.toggle"
},
{
"when": "resourceScheme == file",
"command": "obsSwitcher.addFile"
},
{
"when": "resourceScheme == file",
"command": "obsSwitcher.removeFile"
}
],
"explorer/context": [
{
"when": "resourceScheme == file",
"command": "obsSwitcher.addFile"
},
{
"when": "resourceScheme == file",
"command": "obsSwitcher.removeFile"
}
],
"editor/title/context": [
{
"when": "resourceScheme == file",
"command": "obsSwitcher.addFile"
},
{
"when": "resourceScheme == file",
"command": "obsSwitcher.removeFile"
}
]
},
"configuration": {
"title": "OBS Switcher",
"properties": {
"obsSwitcher.fileNames": {
"type": "array",
"default": [
"*.env*"
],
"description": "File names to trigger the scene switching"
},
"obsSwitcher.autoSwitchBack": {
"type": "boolean",
"default": true,
"description": "Switch back after closing a secret file"
},
"obsSwitcher.sceneName": {
"type": "string",
"default": "",
"description": "OBS scene to switch to when a secret file is opened"
},
"obsSwitcher.transition": {
"type": "string",
"default": "Cut",
"description": "OBS transition to be used when switching between scenes"
},
"obsSwitcher.address": {
"type": "string",
"default": "localhost:4444",
"description": "OBS Websocket address"
},
"obsSwitcher.secure": {
"type": "boolean",
"default": false,
"description": "Secure OBS Websocket connection"
},
"obsSwitcher.autoConnect": {
"type": "boolean",
"default": false,
"description": "If active, this extension will try to automatically connect to the OBS Websocket endpoint"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"compile": "npm run esbuild-base -- --sourcemap",
"test-compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "npm run esbuild-base -- --sourcemap --watch",
"pretest": "npm run test-compile && npm run lint",
"test": "node ./out/test/runTest.js",
"package": "vsce package",
"deploy": "vsce publish"
},
"devDependencies": {
"@types/debug": "^4.1.8",
"@types/glob": "7.2.0",
"@types/keytar": "4.4.0",
"@types/minimatch": "3.0.5",
"@types/mocha": "10.0.1",
"@types/node": "16.11.45",
"@types/vscode": "1.70.0",
"@typescript-eslint/eslint-plugin": "5.30.7",
"@typescript-eslint/parser": "5.30.7",
"es6-promisify": "7.0.0",
"esbuild": "^0.19.2",
"eslint": "8.21.0",
"glob": "8.0.3",
"mocha": "10.2.0",
"typescript": "4.7.4",
"vsce": "2.15.0",
"vscode-test": "1.6.1"
},
"dependencies": {
"inversify": "^6.0.0",
"minimatch": "^5.0.0",
"obs-websocket-js": "^5.0.0",
"reflect-metadata": "^0.1.13"
}
}