-
Notifications
You must be signed in to change notification settings - Fork 12
/
composer.json
66 lines (65 loc) · 1.58 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
{
"name": "munusphp/munus",
"type": "library",
"description": "Power of object-oriented programming with the elegance of functional programming.",
"license": "MIT",
"authors": [
{
"name": "Arkadiusz Kondas",
"email": "arkadiusz.kondas@gmail.com"
}
],
"require": {
"php": "^8.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.27",
"nette/php-generator": "^4.0",
"phpunit/phpunit": "^10.5",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-phpunit": "^2.0"
},
"autoload": {
"psr-4": {
"Munus\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Munus\\Tests\\": "tests/",
"Munus\\Generators\\": "generators/"
}
},
"scripts": {
"check-cs": [
"php-cs-fixer fix --dry-run --diff"
],
"fix-cs": [
"php-cs-fixer fix"
],
"phpstan": [
"phpstan analyse -c phpstan.neon"
],
"phpunit": [
"phpunit --color=always"
],
"phpunit-coverage": [
"phpunit --coverage-clover 'clover.xml'"
],
"coverage-html": [
"phpunit --coverage-html coverage"
],
"generate-tuples": [
"./bin/generate-tuples"
],
"validate-tuples": [
"./bin/generate-tuples --validate"
],
"tests": [
"@validate-tuples",
"@check-cs",
"@phpstan",
"@phpunit-coverage"
]
}
}