This repository has been archived by the owner on Jan 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathcomposer.json
79 lines (77 loc) · 2.18 KB
/
composer.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
{
"name": "paulgibbs/behat-wordpress-extension",
"type": "behat-extension",
"description": "WordHat is a Behat extension for WordPress. It provides WordPress-specific functionality for common testing scenarios specific to WordPress sites.",
"keywords": [
"WordPress",
"behat",
"extension",
"bdd"
],
"homepage": "https://wordhat.info",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Paul Gibbs",
"email": "[email protected]",
"homepage": "https://byotos.com"
}
],
"config": {
"preferred-install": "dist",
"sort-packages": true,
"autoloader-suffix": "wordhat"
},
"autoload": {
"psr-4": {
"PaulGibbs\\WordpressBehatExtension\\": "src"
},
"files": [
"src/Util/functions.php"
]
},
"require": {
"behat/behat": "~3.1",
"php": ">=7.2 <7.4",
"sensiolabs/behat-page-object-extension": "~2.1",
"behat/mink-extension": "~2.3"
},
"require-dev": {
"behat/mink-goutte-driver": "^1.2",
"dmore/behat-chrome-extension": "^1.3",
"genesis/behat-fail-aid": "^2.0",
"phpstan/phpstan": "~0.9",
"squizlabs/php_codesniffer": "~3.0",
"wp-cli/wp-cli-bundle": "~2.3"
},
"suggest": {
"behat/mink-goutte-driver": "Headless Mink driver",
"behat/mink-selenium2-driver": "JS-enabled Mink driver (requires Selenium)",
"dmore/behat-chrome-extension": "JS-enabled Mink driver for Chrome (does not require Selenium)",
"genesis/behat-fail-aid": "Get more out of your test suite by getting it to work with you when tests fail."
},
"extra": {
"wordpress-install-dir": "tests/app/www"
},
"scripts": {
"phpcs": "vendor/bin/phpcs --standard=phpcs-ruleset.xml -p -s -v -n src --extensions=php",
"phpcbf": "vendor/bin/phpcbf --standard=phpcs-ruleset.xml -n src",
"phpstan": "vendor/bin/phpstan analyse -c phpstan.neon --level=1 src",
"commit": [
"@phpcs",
"@phpstan"
],
"ci-tests": [
"@test:behat-ci"
],
"tests": [
"@test:behat-local"
],
"test:behat-ci": [
"vendor/bin/behat --config tests/app/behat-ci.yml --colors --format progress"
],
"test:behat-local": [
"vendor/bin/behat --colors"
]
}
}