-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
219 lines (219 loc) · 6.65 KB
/
package.json
File metadata and controls
219 lines (219 loc) · 6.65 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
{
"name": "dev-proxy-toolkit",
"displayName": "Dev Proxy Toolkit",
"description": "Makes it easy to create and update Dev Proxy configuration files.",
"version": "0.25.3",
"publisher": "garrytrinder",
"engines": {
"vscode": "^1.101.0"
},
"categories": [
"Snippets",
"Testing"
],
"activationEvents": [
"onStartupFinished"
],
"repository": {
"type": "git",
"url": "https://github.com/garrytrinder/dev-proxy-toolkit.git"
},
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "dev-proxy-toolkit.start",
"title": "Start",
"category": "Dev Proxy Toolkit",
"icon": "$(debug-start)",
"enablement": "!isDevProxyRunning"
},
{
"command": "dev-proxy-toolkit.stop",
"title": "Stop",
"category": "Dev Proxy Toolkit",
"icon": "$(debug-stop)",
"enablement": "isDevProxyRunning"
},
{
"command": "dev-proxy-toolkit.restart",
"title": "Restart",
"category": "Dev Proxy Toolkit",
"icon": "$(debug-restart)",
"enablement": "isDevProxyRunning"
},
{
"command": "dev-proxy-toolkit.raise-mock",
"title": "Raise mock request",
"category": "Dev Proxy Toolkit",
"icon": "$(cloud-download)",
"enablement": "isDevProxyRunning"
},
{
"command": "dev-proxy-toolkit.record-start",
"title": "Start recording",
"category": "Dev Proxy Toolkit",
"icon": "$(circle-filled)",
"enablement": "isDevProxyRunning && !isDevProxyRecording"
},
{
"command": "dev-proxy-toolkit.record-stop",
"title": "Stop recording",
"category": "Dev Proxy Toolkit",
"icon": "$(circle-slash)",
"enablement": "isDevProxyRunning && isDevProxyRecording"
},
{
"command": "dev-proxy-toolkit.config-open",
"title": "Open configuration file",
"category": "Dev Proxy Toolkit",
"icon": "$(file-code)",
"enablement": "isDevProxyInstalled"
},
{
"command": "dev-proxy-toolkit.config-new",
"title": "Create configuration file",
"category": "Dev Proxy Toolkit",
"icon": "$(file-code)",
"enablement": "isDevProxyInstalled"
},
{
"command": "dev-proxy-toolkit.discover-urls-to-watch",
"title": "Discover URLs to watch",
"category": "Dev Proxy Toolkit",
"icon": "$(debug-start)",
"enablement": "!isDevProxyRunning"
},
{
"command": "dev-proxy-toolkit.jwt-create",
"title": "Generate JWT",
"category": "Dev Proxy Toolkit",
"enablement": "isDevProxyInstalled"
}
],
"mcpServerDefinitionProviders": [
{
"id": "devproxymcp",
"label": "Dev Proxy"
}
],
"menus": {
"editor/title": [
{
"command": "dev-proxy-toolkit.start",
"group": "navigation@1",
"when": "!activeEditorIsDirty && isDevProxyConfigFile && !isDevProxyRunning"
},
{
"command": "dev-proxy-toolkit.stop",
"group": "navigation@2",
"when": "!activeEditorIsDirty && isDevProxyConfigFile && isDevProxyRunning"
},
{
"command": "dev-proxy-toolkit.restart",
"group": "navigation@2",
"when": "!activeEditorIsDirty && isDevProxyConfigFile && isDevProxyRunning"
},
{
"command": "dev-proxy-toolkit.raise-mock",
"group": "navigation@3",
"when": "!activeEditorIsDirty && isDevProxyConfigFile && isDevProxyRunning"
},
{
"command": "dev-proxy-toolkit.record-start",
"group": "navigation@4",
"when": "!activeEditorIsDirty && isDevProxyConfigFile && isDevProxyRunning && !isDevProxyRecording"
},
{
"command": "dev-proxy-toolkit.record-stop",
"group": "navigation@5",
"when": "!activeEditorIsDirty && isDevProxyConfigFile && isDevProxyRunning && isDevProxyRecording"
}
]
},
"snippets": [
{
"language": "json",
"path": "./dist/snippets.json"
},
{
"language": "jsonc",
"path": "./dist/snippets.json"
}
],
"configuration": {
"properties": {
"dev-proxy-toolkit.version": {
"type": "string",
"enum": [
"stable",
"beta"
],
"default": "stable",
"description": "The preferred version to be used when installed side by side. (Requires a restart of extension to take effect)"
},
"dev-proxy-toolkit.newTerminal": {
"type": "boolean",
"default": true,
"description": "Create a new terminal session when starting Dev Proxy."
},
"dev-proxy-toolkit.showTerminal": {
"type": "boolean",
"default": true,
"description": "Show the terminal when starting Dev Proxy."
},
"dev-proxy-toolkit.closeTerminal": {
"type": "boolean",
"default": true,
"description": "Close the terminal when stopping Dev Proxy."
},
"dev-proxy-toolkit.apiPort": {
"type": "number",
"default": 8897,
"description": "The port number used to communicate with Dev Proxy API."
}
}
}
},
"preview": false,
"pricing": "Free",
"icon": "dist/icon.png",
"homepage": "https://github.com/garrytrinder/dev-proxy-toolkit/blob/main/README.md",
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"copy-examples": "node scripts/copy-examples.js",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run copy-examples && npm run lint",
"lint": "gts lint",
"test": "vscode-test",
"clean": "gts clean",
"fix": "gts fix"
},
"devDependencies": {
"@types/json-to-ast": "2.1.4",
"@types/mocha": "10.0.10",
"@types/node": "24.0.3",
"@types/sinon": "17.0.4",
"@types/vscode": "1.101.0",
"@typescript-eslint/eslint-plugin": "8.35.0",
"@typescript-eslint/parser": "8.35.0",
"@vscode/test-cli": "0.0.11",
"@vscode/test-electron": "2.5.2",
"copy-webpack-plugin": "13.0.0",
"eslint": "9.29.0",
"gts": "6.0.2",
"sinon": "21.0.0",
"ts-loader": "9.5.2",
"typescript": "5.8.3",
"webpack": "5.99.9",
"webpack-cli": "6.0.1"
},
"dependencies": {
"json-to-ast": "2.1.0",
"semver": "7.7.2"
}
}