-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
66 lines (66 loc) · 1.49 KB
/
composer.json
File metadata and controls
66 lines (66 loc) · 1.49 KB
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
63
64
65
66
{
"name": "yard/data",
"type": "package",
"description": "Powerful data objects for WordPress",
"license": "MIT",
"config": {
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true
},
"platform": {
"php": "8.2"
}
},
"support": {
"source": "https://github.com/yardinternet/yard-data",
"issues": "https://github.com/yardinternet/yard-data/issues"
},
"require": {
"php": ">=8.2",
"jgrossi/corcel": "^7.0",
"spatie/laravel-data": "^4.5"
},
"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\\Data\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Yard\\Data\\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\\Data\\Providers\\DataServiceProvider"
],
"aliases": {
"Data": "Yard\\Data\\Facades\\Data"
}
}
}
}