generated from yardinternet/skeleton-package
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
56 lines (56 loc) · 1.27 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
{
"name": "yard/wp-user-roles",
"type": "package",
"description": "An Acorn package for managing user roles in WordPress.",
"version": "2.0.0",
"license": "MIT",
"config": {
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"require": {
"php": ">=8.1",
"spatie/laravel-package-tools": "^1.16",
"webmozart/assert": "^1.11",
"wp-cli/wp-cli-bundle": "^2.11"
},
"require-dev": {
"10up/wp_mock": "^0.4.2",
"friendsofphp/php-cs-fixer": "^3.58",
"larastan/larastan": "^2.0",
"orchestra/testbench": "^8.23",
"pestphp/pest": "^2.34",
"szepeviktor/phpstan-wordpress": "^1.0"
},
"autoload": {
"psr-4": {
"Yard\\UserRoles\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Yard\\UserRoles\\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\\UserRoles\\UserRolesServiceProvider"
],
"aliases": {
"UserRoles": "Yard\\UserRoles\\Facades\\UserRoles"
}
}
}
}