-
Notifications
You must be signed in to change notification settings - Fork 4
/
composer.json
44 lines (44 loc) · 1.27 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
{
"name": "plugin/pdc-base",
"description": "PDC Base plugin",
"authors": [
{
"name": "Yard | Digital Agency",
"email": "info@yard.nl",
"homepage": "https://www.yard.nl"
}
],
"type": "wordpress-plugin",
"require": {
"php": "^7.4|^8.0",
"johnbillion/extended-cpts": "^4.0",
"yahnis-elsts/plugin-update-checker": "^5.0"
},
"require-dev": {
"10up/wp_mock": "~0.5",
"friendsofphp/php-cs-fixer": "^2.0",
"mockery/mockery": "^1.5",
"phpunit/phpunit": "~9.0",
"szepeviktor/phpstan-wordpress": "^1.1"
},
"autoload": {
"psr-4": {
"OWC\\PDC\\Base\\": "./src/Base"
}
},
"autoload-dev": {
"psr-4": {
"OWC\\PDC\\Base\\Tests\\": "./tests"
}
},
"scripts": {
"format": "./vendor/bin/php-cs-fixer fix",
"phpstan": "./vendor/bin/phpstan analyse --no-progress --memory-limit 500M",
"test": [
"@unit"
],
"unit": "clear && ./vendor/bin/phpunit --testdox --stderr --testsuite 'Unit Test Suite' --colors=always",
"unit-coverage": "clear && XDEBUG_MODE=coverage ./vendor/bin/phpunit --stderr --testsuite 'Unit Test Suite' --prepend tests/xdebug-filter.php --colors=always --coverage-html ./tests/coverage",
"package": "chmod +x ./bin/package.sh && ./bin/package.sh"
}
}