-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
216 lines (216 loc) · 6.97 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
{
"name": "phastos-automate",
"displayName": "Phastos Automate",
"description": "Getting workspace to ready state in seconds.",
"version": "0.3.2",
"engines": {
"vscode": "^1.82.0"
},
"icon": "./assets/logo.png",
"publisher": "PhastosToolkit",
"repository": {
"type": "git",
"url": "[email protected]:lorenzejay/phastos-automate-extension.git"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "Phastos Automation Configurations",
"properties": {
"phastos-automate.autoRunAll": {
"type": "boolean",
"title": "Automatically Trigger all Workspace automations.",
"description": "Enable this extension to run automatically when you open this workspace",
"scope": "resource",
"properties": {
"runAll": {
"title": "Run all automations",
"type": "boolean",
"default": false
}
}
},
"phastos-automate.telemetryEnabled": {
"description": "Enable/disable telemetry data collection.",
"type": "boolean",
"scope": "application",
"default": true
},
"phastos-automate.autoRunWorkspaceAppsOnLaunch": {
"title": "Launch peripheral apps on launch",
"description": "Automatically launch apps when workspace opens",
"type": "boolean",
"scope": "resource",
"default": false
},
"phastos-automate.autoRunTerminalsOnLaunch": {
"title": "Run terminal specific workspaces",
"description": "Automatically launch terminal with provided context workspace opens",
"type": "boolean",
"scope": "resource",
"default": false
},
"phastos-automate.autoRunBrowsersOnLaunch": {
"title": "Run terminal specific workspaces",
"description": "Automatically launch chromium based browser when workspace opens",
"type": "boolean",
"scope": "resource",
"default": false
},
"phastos-automate.autoRunFocusMode": {
"title": "Run Focus Mode",
"description": "Automatically launch chromium based browser when workspace opens",
"type": "boolean",
"scope": "resource",
"default": false
},
"phastos-automate.workspaceApps": {
"type": "array",
"default": [],
"title": "Workspace Apps",
"description": "Open workspace specific apps that you need - such as pgAdmin4, Postgres, DBeaver, Spotify",
"scope": "resource",
"items": {
"type": "string",
"default": "Safari"
}
},
"phastos-automate.focusMode": {
"title": "Enable/disable focus mode.",
"description": "Quits all applications not in app context, VS Code, by default will always be included.",
"type": "object",
"default": {
"enabled": true,
"focusedApps": [
"Code"
]
},
"properties": {
"enabled": {
"type": "boolean"
},
"focusedApps": {
"type": "array",
"description": "apps not to quit in focus mode",
"properties": {
"apps": {
"type": "string"
}
}
}
}
},
"phastos-automate.browserConfig": {
"type": "object",
"title": "Browser Config",
"description": "Automate opening your favorite browser or populate its tabs. Currently supporting Safari, Google Chrome, Brave Browser and Arc with spaces",
"scope": "resource",
"properties": {
"browser": {
"type": "string"
},
"spaceName": {
"type": "string"
},
"tabs": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"phastos-automate.terminalConfig": {
"type": "object",
"properties": {
"useNewTabOrSplit": {
"type": "boolean",
"title": "Should open multiple terminal windows or split inside one window.",
"description": "If using macos default terminal please avoid focusing away from window as terminal opens if split is true, otherwise, split won't work properly."
},
"terminal": {
"type": "string",
"title": "Choose between integrated or external terminal (Iterm, default mac terminal)"
},
"workspaces": {
"type": "array",
"items": {
"type": "object",
"properties": {
"filePath": {
"type": "string"
},
"command": {
"type": "string"
},
"opensVSCode": {
"type": "boolean"
}
},
"required": [
"filePath"
]
}
}
},
"title": "Terminal Config",
"description": "Configuration for commands and filepaths for opening terminal or Iterm2 outside of VS Code",
"scope": "resource"
}
}
},
"commands": [
{
"command": "phastos-automate.openChromiumBrowser",
"title": "Phastos Automate: Open Browser Context"
},
{
"command": "phastos-automate.openTerminalProcess",
"title": "Phastos Automate: Open Terminal Context"
},
{
"command": "phastos-automate.openWorkspaceApps",
"title": "Phastos Automate: Open Workspace Apps"
},
{
"command": "phastos-automate.focusMode",
"title": "Phastos Automate: Focus Mode"
}
]
},
"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": "node ./out/test/runTest.js",
"postversion": "git push && git push --tags",
"publish:patch": "npm version patch && vsce publish",
"publish:minor": "npm version minor && vsce publish",
"publish:major": "npm version major && vsce publish"
},
"devDependencies": {
"@types/mocha": "^10.0.2",
"@types/node": "18.x",
"@types/vscode": "^1.82.0",
"@typescript-eslint/eslint-plugin": "^6.7.3",
"@typescript-eslint/parser": "^6.7.3",
"@vscode/test-electron": "^2.3.4",
"eslint": "^8.50.0",
"glob": "^10.3.3",
"mocha": "^10.2.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@vscode/extension-telemetry": "^0.8.5",
"node-jxa-workspace-automation": "^1.3.0"
}
}