-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
55 lines (55 loc) · 1.36 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
{
"name": "plugin/openpub-base",
"description": "OpenPub base plugin",
"type": "wordpress-plugin",
"config": {
"preferred-install": "dist",
"optimize-autoloader": true,
"sort-packages": true
},
"authors": [
{
"name": "Yard | Digital Agency",
"email": "[email protected]",
"homepage": "https://www.yard.nl"
}
],
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"require": {
"php": ">=7.0",
"symfony/var-dumper": "^5.2",
"wpackagist-plugin/elasticpress": ">2.0"
},
"require-dev": {
"mockery/mockery": "^1.0.0",
"phpunit/phpunit": "~8.0",
"10up/wp_mock": "dev-master",
"friendsofphp/php-cs-fixer": "^2.0",
"phpstan/phpstan": "^0.12",
"szepeviktor/phpstan-wordpress": "^0.6.0"
},
"autoload": {
"psr-4": {
"OWC\\OpenPub\\Base\\": "./src/Base"
}
},
"autoload-dev": {
"psr-4": {
"OWC\\OpenPub\\Tests\\": "./tests/Unit"
}
},
"scripts": {
"format": "vendor/bin/php-cs-fixer fix",
"phpstan": "./vendor/bin/phpstan analyse",
"test": [
"@unit"
],
"unit": "clear && ./vendor/bin/phpunit --testsuite 'Unit Test Suite' --colors=always",
"unit-coverage": "clear && XDEBUG_MODE=coverage ./vendor/bin/phpunit --testsuite 'Unit Test Suite' --colors=always --coverage-html ./tests/coverage"
}
}