-
Notifications
You must be signed in to change notification settings - Fork 43
/
package.json
237 lines (237 loc) · 8.34 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
{
"name": "better-phpunit",
"displayName": "Better PHPUnit",
"description": "A better PHPUnit test runner",
"version": "1.6.2",
"publisher": "calebporzio",
"engines": {
"vscode": "^1.74.0"
},
"repository": {
"type": "git",
"url": "https://github.com/calebporzio/better-phpunit.git"
},
"icon": "icon.png",
"categories": [
"Other"
],
"activationEvents": [
"onCommand:better-phpunit.run",
"onCommand:better-phpunit.run-file",
"onCommand:better-phpunit.run-suite"
],
"main": "./src/extension",
"contributes": {
"commands": [
{
"command": "better-phpunit.run",
"title": "Better PHPUnit: run"
},
{
"command": "better-phpunit.run-file",
"title": "Better PHPUnit: run file"
},
{
"command": "better-phpunit.run-suite",
"title": "Better PHPUnit: run suite"
},
{
"command": "better-phpunit.run-previous",
"title": "Better PHPUnit: run previous"
}
],
"keybindings": [
{
"key": "cmd+k cmd+r",
"command": "better-phpunit.run",
"when": "editorLangId == php"
},
{
"key": "cmd+k cmd+f",
"command": "better-phpunit.run-file",
"when": "editorLangId == php"
},
{
"key": "cmd+k cmd+p",
"command": "better-phpunit.run-previous",
"when": "editorLangId == php"
}
],
"configuration": {
"title": "Better PHPUnit configuration",
"properties": {
"better-phpunit.commandSuffix": {
"type": [
"string",
"null"
],
"default": null,
"description": "This string will be appended to the phpunit command, it's a great place to add flags like '--stop-on-failure'"
},
"better-phpunit.phpunitBinary": {
"type": [
"string",
"null"
],
"default": null,
"description": "A custom phpunit binary. Ex: 'phpunit', '/usr/local/bin/phpunit'"
},
"better-phpunit.pestBinary": {
"type": [
"string",
"null"
],
"default": null,
"description": "A custom Pest binary. Ex: 'pest', '/usr/local/bin/pest'"
},
"better-phpunit.xmlConfigFilepath": {
"type": [
"string",
"null"
],
"default": null,
"description": "Absolute path for the PHPUnit XML configuration file"
},
"better-phpunit.suiteSuffix": {
"type": [
"string",
"null"
],
"default": null,
"description": "Specify options to appended only to the 'run suite' command, for example add options like '--testsuite unit' or '--coverage --coverage-xml'"
},
"better-phpunit.ssh.enable": {
"type": "boolean",
"default": false,
"description": "Run tests over SSH"
},
"better-phpunit.ssh.user": {
"type": [
"string",
"null"
],
"default": null,
"description": "The user to connect as when running test via SSH"
},
"better-phpunit.ssh.host": {
"type": [
"string",
"null"
],
"default": null,
"description": "The hostname to use when running tests via SSH"
},
"better-phpunit.ssh.port": {
"type": [
"integer"
],
"default": 22,
"description": "The port to use when running tests via SSH. Deprecated, set better-phpunit.options to '-p[port]' on Linux/Mac, and '-P [port]' on Windows."
},
"better-phpunit.ssh.paths": {
"type": "object",
"default": {},
"description": "The SSH path map. Keys are local (host) paths and values are remote (guest) paths."
},
"better-phpunit.ssh.binary": {
"type": [
"string",
"null"
],
"default": null,
"description": "The path (and flags) to an SSH-compatible binary. If null it will use SSH on *nix and Putty on Windows."
},
"better-phpunit.ssh.disableAllOptions": {
"type": "boolean",
"default": false,
"description": "Do not include any config options in SSH command."
},
"better-phpunit.ssh.options": {
"type": [
"string",
"null"
],
"default": null,
"description": "Additional command line options to pass to ssh/putty/plink"
},
"better-phpunit.docker.enable": {
"type": "boolean",
"default": false,
"description": "Run tests within a Docker container"
},
"better-phpunit.docker.command": {
"type": [
"string",
"null"
],
"default": null,
"description": "The Docker command to execute a container. If null, an error will be thrown during execution."
},
"better-phpunit.docker.paths": {
"type": "object",
"default": {},
"description": "The docker path map. Keys are local (host) paths and values are remote (container) paths."
}
}
},
"problemMatchers": [
{
"name": "phpunit",
"owner": "php",
"fileLocation": "absolute",
"pattern": [
{
"regexp": "^\\d+\\)\\s.*$"
},
{
"regexp": "^(.*)$",
"message": 1
},
{
"regexp": "^(.*):(\\d+)$",
"file": 1,
"location": 2
}
]
}
],
"taskDefinitions": [
{
"type": "phpunit",
"required": [
"task"
],
"properties": {
"task": {
"type": "string",
"description": "The task to execute"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^10.0.1",
"@types/node": "^20.8.4",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"@vscode/test-electron": "^2.3.0",
"eslint": "^8.26.0",
"glob": "^7.1.4",
"mocha": "^10.2.0",
"source-map-support": "^0.5.12",
"typescript": "^5.2.2"
},
"dependencies": {
"find-up": "^2.1.0"
}
}