-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
45 lines (45 loc) · 1.32 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
{
"name": "plugin/pdc-faq",
"description": "PDC Frequently Asked Questions plugin, creates PDC item FAQ section",
"authors": [
{
"name": "Yard Digital Agency",
"email": "[email protected]",
"homepage": "https://www.yard.nl"
}
],
"type": "wordpress-plugin",
"require": {
"php": "^7.4|^8.0",
"yahnis-elsts/plugin-update-checker": "^5.1"
},
"require-dev": {
"mockery/mockery": "*",
"phpunit/phpunit": "~8.0",
"10up/wp_mock": "~0.4",
"friendsofphp/php-cs-fixer": "^2.0",
"szepeviktor/phpstan-wordpress": "^1.3.0"
},
"autoload": {
"psr-4": {
"OWC\\PDC\\": "./src"
}
},
"autoload-dev": {
"psr-4": {
"OWC\\PDC\\FAQ\\Tests\\": "./tests"
}
},
"scripts": {
"format": "./vendor/bin/php-cs-fixer fix",
"phpstan": "./vendor/bin/phpstan analyse --no-progress --memory-limit 500M",
"unit": "clear && ./vendor/bin/phpunit --testdox --stderr --testsuite 'Unit Test Suite' --colors=always",
"unit-coverage": "clear && ./vendor/bin/phpunit --testsuite 'Unit Test Suite' --colors=always --coverage-html ./tests/coverage",
"integration": "clear && ./vendor/bin/phpunit --testsuite 'Integration Test Suite' --colors=always",
"test": [
"@unit",
"@integration"
],
"package": "chmod +x ./bin/package.sh && ./bin/package.sh"
}
}