generated from yardinternet/skeleton-package
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
53 lines (53 loc) · 1.22 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
{
"name": "yard/wp-hook-registrar",
"type": "package",
"description": "An Acorn package for WordPress hook registration.",
"license": "MIT",
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true
},
"platform": {
"php": "8.1"
},
"sort-packages": true
},
"require": {
"php": ">=8.1",
"spatie/laravel-package-tools": "^1.16"
},
"require-dev": {
"10up/wp_mock": "^0.4.2",
"larastan/larastan": "^2.0",
"orchestra/testbench": "^8.23",
"pestphp/pest": "^2.34",
"szepeviktor/phpstan-wordpress": "^1.0",
"yard/php-cs-fixer-rules": "^1.0"
},
"autoload": {
"psr-4": {
"Yard\\Hook\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Yard\\Hook\\Tests\\": "tests/"
}
},
"scripts": {
"analyse": [
"sed -i -e 's#function __(#function ____(#' ./vendor/php-stubs/wordpress-stubs/wordpress-stubs.php",
"vendor/bin/phpstan analyse --debug --memory-limit 1G"
],
"format": "vendor/bin/php-cs-fixer fix",
"test": "vendor/bin/pest",
"test:coverage": "XDEBUG_MODE=coverage vendor/bin/pest --coverage"
},
"extra": {
"acorn": {
"providers": [
"Yard\\Hook\\HookServiceProvider"
]
}
}
}