This repository was archived by the owner on Feb 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 3.53 KB
/
package.json
File metadata and controls
95 lines (95 loc) · 3.53 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
{
"name": "vscode-docker-phpunit",
"displayName": "vscode-docker-phpunit",
"description": "Run PHPUnit tests and commands inside of a Docker container",
"version": "1.0.0",
"publisher": "eric-c-hansen",
"engines": {
"vscode": "^1.16.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:docker_phpunit.setPhpunitDockerContainerName",
"onCommand:docker_phpunit.runAllTestsInDirectory",
"onCommand:docker_phpunit.getPhpUnitVersion",
"onCommand:docker_phpunit.runAllTestsInClass",
"onCommand:docker_phpunit.runSpecificTestInClass",
"onCommand:docker_phpunit.pickClassOrMethodToTest"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "docker_phpunit.setPhpunitDockerContainerName",
"title": "Docker-PHPUnit: Save container name"
},
{
"command": "docker_phpunit.getPhpUnitVersion",
"title": "Docker-PHPUnit: Validate config and display version"
},
{
"command": "docker_phpunit.runAllTestsInDirectory",
"title": "Docker-PHPUnit: Run tests within the active editor directory"
},
{
"command": "docker_phpunit.runAllTestsInClass",
"title": "Docker-PHPUnit: Run all tests within the current editor window"
},
{
"command": "docker_phpunit.runSpecificTestInClass",
"title": "Docker-PHPUnit: Run test cursor is currently inside of or on"
},
{
"command": "docker_phpunit.pickClassOrMethodToTest",
"title": "Docker-PHPUnit: Choose the test method, class or file to run"
}
],
"configuration":[
{
"title": "Docker PHPUnit",
"properties": {
"phpunit.exec": {
"type": "string",
"default": "phpunit",
"description": "Define the PHPUnit binary within the container to run"
},
"phpunit.docker_name": {
"type": "string",
"default": "",
"description": "The container name to run the test(s) on"
},
"phpunit.extra_params": {
"type": "array",
"default": [],
"description": "Extra params to pass into PHPUnit (i.e.: pass in config file)"
},
"phpunit.code_path": {
"type": "string",
"default": "/var/www/html",
"description": "Root path in the container where the source is located (serverSourceRoot in launch.json most likely)"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"typescript": "^2.5.2",
"vscode": "^1.1.5",
"mocha": "^3.5.0",
"@types/node": "^7.0.43",
"@types/mocha": "^2.2.42"
},
"dependencies": {
"dockerode": "^2.5.1",
"lodash": "^4.17.4"
}
}