-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
105 lines (103 loc) · 3.17 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "reyesoft/reactive-laravel-jobs",
"description": "Reactive Laravel Jobs",
"license": "proprietary",
"keywords": [
"reyesoft",
"laravel",
"jobs",
"laravel-jobs"
],
"type": "library",
"authors": [
{
"name": "Pablo Reyes",
"email": "[email protected]",
"homepage": "https://pabloreyes.com/"
}
],
"require": {
"php": "^8.1",
"illuminate/support": "^9.0|^10.0|^11.0",
"illuminate/queue": "^9.0|^10.0|^11.0",
"illuminate/database": "^9.0|^10.0|^11.0"
},
"require-dev": {
"ext-mbstring": "*",
"orchestra/testbench": "^7.9.0",
"reyesoft/ci": "2.0.0",
"larastan/larastan": "2.9.6",
"phpunit/phpunit": "^9.5.10"
},
"autoload": {
"psr-4": {
"Reyesoft\\ReactiveLaravelJobs\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/lib"
}
},
"scripts": {
"autofix": "sh autofix.sh",
"ci": [
"@ci-php-cpd",
"@ci-double-spaces",
"@phpstan",
"@ci-php-csniffer",
"@ci-php-cs-fixer",
"@ci-php-md"
],
"ci-php-cpd": "sh resources/ci/php-cpd.sh",
"ci-double-spaces": [
"sh vendor/reyesoft/ci/tools/find-double-spaces.sh src",
"sh vendor/reyesoft/ci/tools/find-double-spaces.sh tests"
],
"ci-php-csniffer": "sh resources/ci/php-csniffer.sh",
"ci-php-csniffer-fix": "sh resources/ci/php-csniffer-fix.sh",
"ci-php-cs-fixer": "sh vendor/reyesoft/ci/php/scripts/php-cs-fixer.sh",
"ci-php-md": "sh resources/ci/php-md.sh",
"phpstan": [
"@phpstan-src",
"@phpstan-tests"
],
"phpstan-src": "./vendor/bin/phpstan analyse --memory-limit 1G -c resources/rules/phpstan.src.neon",
"phpstan-tests": "./vendor/bin/phpstan analyse --memory-limit 1G -c resources/rules/phpstan.tests.neon",
"ide-helper": [
"# php artisan ide-helper:meta --filename=bootstrap/cache/.phpstorm.meta.php",
"# php artisan ide-helper:generate bootstrap/cache/_ide_helper_meta.php"
],
"ide-helper-models":[
"php artisan migrate",
"php artisan ide-helper:models --write",
"composer autofix"
],
"coverage": [
"ulimit -Sn 50000 && phpdbg -d memory_limit=-1 -qrr ./vendor/bin/phpunit",
"php ./vendor/reyesoft/ci/tools/coverage-checker.php"
],
"test": [
"./vendor/bin/phpunit -d memory_limit=-1"
]
},
"extra": {
"coverage": {
"file": "./bootstrap/cache/clover.xml",
"thresholds": {
"global": { "lines": 95 },
"/src/Debounce": { "functions": 100 },
"/src/Throttle": { "functions": 100 }
}
}
},
"config": {
"preferred-install": "dist",
"platform": {
"php": "8.1"
},
"discard-changes": true,
"optimize-autoloader": true
},
"prefer-stable": true
}