-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
64 lines (64 loc) · 1.66 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
{
"name": "plugin/pdc-leges",
"description": "PDC Leges Plugin",
"authors": [
{
"name": "Yard Internet",
"email": "[email protected]",
"homepage": "https://www.yardinternet.nl"
}
],
"type": "wordpress-plugin",
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "vcs",
"url": "[email protected]:OpenWebconcept/plugin-pdc-base.git"
}
],
"require": {
"php": "^7.4|^8.0",
"yahnis-elsts/plugin-update-checker": "^5.1",
"johnpbloch/wordpress": "6.*",
"plugin/pdc-base": "3.*",
"wp-cli/wp-cli": "2.*",
"wpackagist-plugin/cmb2": "2.11.*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"10up/wp_mock": "~0.4",
"mockery/mockery": "*",
"phpunit/phpunit": "~8.0",
"squizlabs/php_codesniffer": "^3.0.2"
},
"autoload": {
"psr-4": {
"OWC\\PDC\\": "./src"
}
},
"autoload-dev": {
"psr-4": {
"OWC\\PDC\\Leges\\Tests\\": "./tests"
}
},
"scripts": {
"unit": "clear && ./vendor/bin/phpunit --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",
"format": "vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php"
},
"config": {
"allow-plugins": {
"johnpbloch/wordpress-core-installer": true,
"composer/installers": true
}
}
}