-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathcomposer.json
79 lines (79 loc) · 3.07 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
{
"name": "artisansdk/cqrs",
"description": "A foundational package for Command Query Responsibility Segregation (CQRS) compatible with Laravel.",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Daniel LaBarge",
"email": "daniel@artisanmade.io"
}
],
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"process-timeout": 0,
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"require": {
"php": ">=8.0",
"artisansdk/contract": "dev-master",
"artisansdk/model": "1.0.x-dev",
"illuminate/container": "^10.0 | ^11.0",
"illuminate/database": "^10.0 | ^11.0",
"illuminate/queue": "^10.0 | ^11.0",
"illuminate/support": "^10.0 | ^11.0",
"psr/log": "^1.0 | ^2.0 | ^3.0"
},
"require-dev": {
"dms/phpunit-arraysubset-asserts": "^0.5.0",
"illuminate/cache": "^10.0 | ^11.0",
"illuminate/pagination": "^10.0 | ^11.0",
"illuminate/validation": "^10.0 | ^11.0",
"laravel/pint": "^1.19",
"pestphp/pest": "^2.36"
},
"suggest": {
"artisansdk/event": "CQRS is a pattern used in event-driven applications. The artisansdk/event package is a general purpose event sourcing library for event stores.",
"illuminate/cache": "CQRS supports automatic caching and cache-busting of queries using Laravel's CacheManager class.",
"illuminate/pagination": "CQRS supports integration of LengthAwarePaginator by using Query::paginate() method.",
"illuminate/validation": "CQRS supports automatic creation of a Validator using rules arrays with argument validation."
},
"autoload": {
"psr-4": {
"ArtisanSdk\\CQRS\\": "src/"
}
},
"autoload-dev": {
"files": [
"tests/helpers.php"
],
"psr-4": {
"ArtisanSdk\\CQRS\\Tests\\": "tests/"
}
},
"scripts": {
"fix": [
"@php vendor/bin/pint "
],
"test": [
"@php vendor/bin/pest"
],
"watch": [
"watchman-make -p 'src/**/*.php' 'tests/**/*.php' --run=\"clear && printf '\\e[3J' && ./vendor/bin/pest\""
],
"report": [
"[ -d reports ] || mkdir reports",
"@php vendor/bin/bench test --no-coverage --ansi",
"coverage=`cat reports/coverage.txt | grep -m 1 \"Lines:\" | grep -E -o \"([0-9]{1,3})\" | head -1`; min=80; if [ $coverage -lt $min ]; then exit 2; fi",
"@php vendor/bin/bench fix src/ tests/ --cache=.php_cs.cache --pretend --ansi",
"vendor/bin/phpmd \"src/\" html codesize,cleancode,unusedcode,naming --reportfile reports/messes.html --ignore-violations-on-exit",
"vendor/bin/pdepend --summary-xml=reports/stats.xml \"src/\"",
"vendor/bin/phploc --log-xml=reports/summary.xml src/",
"vendor/bin/phpcpd src/ --log-pmd=reports/duplications.xml --min-lines=3 --min-tokens=35"
]
}
}