forked from OpenWebconcept/plugin-openwoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
61 lines (61 loc) · 1.53 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
{
"name": "plugin/openwoo",
"description": "OpenWOO plugin",
"license": "MIT",
"authors": [
{
"name": "Yard | Digital Agency",
"email": "[email protected]",
"homepage": "https://www.yard.nl"
}
],
"config": {
"allow-plugins": {
"composer/installers": true
},
"preferred-install": "dist",
"optimize-autoloader": true,
"sort-packages": true
},
"type": "wordpress-plugin",
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"require": {
"php": "^7.4|^8.0",
"wpackagist-plugin/cmb2": "2.10.*"
},
"require-dev": {
"mockery/mockery": "^1.0",
"phpunit/phpunit": "~8.0 | ~9.0",
"10up/wp_mock": "~0.5",
"friendsofphp/php-cs-fixer": "^3.0",
"szepeviktor/phpstan-wordpress": "0.7.*",
"symfony/var-dumper": "^5.0",
"wpackagist-plugin/elasticpress": "^3.0",
"zircote/swagger-php": "^3.0"
},
"autoload": {
"psr-4": {
"Yard\\OpenWOO\\": "./src/OpenWOO"
}
},
"autoload-dev": {
"psr-4": {
"Yard\\OpenWOO\\Tests\\": "./tests/Unit/OpenWOO"
}
},
"scripts": {
"doc": "clear && php ./docs/openapi-create.php > ./docs/specs/openapi.yaml",
"format": "./vendor/bin/php-cs-fixer fix",
"phpstan": "./vendor/bin/phpstan analyse --no-progress",
"unit": "clear && ./vendor/bin/phpunit --colors=always",
"unit-coverage": "clear && XDEBUG_MODE=coverage ./vendor/bin/phpunit --stderr --colors=always --coverage-html ./tests/logs/coverage",
"test": [
"@unit"
]
}
}