generated from roots/acorn-example-package
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
62 lines (62 loc) · 1.32 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
62
{
"name": "yard/skeleton-package",
"type": "package",
"description": ":package_description",
"license": "MIT",
"config": {
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true
},
"platform": {
"php": "8.1"
}
},
"require": {
"php": ">=8.1",
"roots/acorn": "^4.3",
"spatie/laravel-package-tools": "^1.16"
},
"require-dev": {
"10up/wp_mock": "^0.4.2",
"larastan/larastan": "^2.9",
"orchestra/testbench": "^8.27",
"pestphp/pest": "^2.36",
"szepeviktor/phpstan-wordpress": "^1.3",
"yard/php-cs-fixer-rules": "^1.0"
},
"autoload": {
"psr-4": {
"Yard\\SkeletonPackage\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Yard\\SkeletonPackage\\Tests\\": "tests/"
}
},
"scripts": {
"post-autoload-dump": [
"sed -i -e 's#function __(#function ____(#' ./vendor/php-stubs/wordpress-stubs/wordpress-stubs.php"
],
"all": [
"@test",
"@analyse",
"@format"
],
"analyse": "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\\SkeletonPackage\\SkeletonPackageServiceProvider"
],
"aliases": {
"Example": "Yard\\SkeletonPackage\\Facades\\Example"
}
}
}
}