-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
37 lines (37 loc) · 1.04 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
{
"name": "imaginary-machines/imaginary-webhooks",
"description": "Send webhooks when",
"require": {
"php": "^7.2|^8.0"
},
"type": "wordpress-plugin",
"autoload": {
"psr-4": {
"ImaginaryMachines\\Webhooks\\": "./php"
}
},
"autoload-dev": {
"psr-4": {
"ImaginaryMachines\\Webhooks\\Tests\\": "./tests"
}
},
"require-dev": {
"phpunit/phpunit": "^7.0",
"yoast/phpunit-polyfills": "^1.0.1",
"mockery/mockery": "1.2",
"brain/monkey": "2.*",
"squizlabs/php_codesniffer": "^3.6"
},
"scripts": {
"test": "composer test:unit && composer test:wordpress",
"test:unit": "phpunit --config=phpunit-unit.xml",
"test:wordpress": "phpunit --config=phpunit-integration.xml",
"sniffs": "phpcs php/ && phpcs tests/",
"fixes": "phpcbf php/ && phpcbf tests/"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}