-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
54 lines (54 loc) · 1.29 KB
/
composer.json
File metadata and controls
54 lines (54 loc) · 1.29 KB
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
{
"name": "plugin/pdc-locations",
"description": "Plugin to attach locations to a PDC item",
"authors": [
{
"name": "Yard Digital Agency",
"email": "info@yard.nl",
"homepage": "https://www.yard.nl"
}
],
"type": "wordpress-plugin",
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"require": {
"php": "^7.0|^8.0",
"johnbillion/extended-cpts": "^5.0"
},
"require-dev": {
"10up/wp_mock": "~0.5",
"friendsofphp/php-cs-fixer": "^3.0",
"mockery/mockery": "^1.5",
"phpstan/phpstan": "^1.6",
"phpunit/phpunit": "~9.0",
"szepeviktor/phpstan-wordpress": "^1.1"
},
"autoload": {
"psr-4": {
"OWC\\PDC\\Locations\\": "./src/Locations"
}
},
"autoload-dev": {
"psr-4": {
"OWC\\PDC\\Locations\\Tests\\": "./tests"
}
},
"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 && ./vendor/bin/phpunit --testsuite 'Unit Test Suite' --colors=always --coverage-html ./tests/coverage"
},
"config": {
"allow-plugins": {
"composer/installers": true
}
}
}