-
Notifications
You must be signed in to change notification settings - Fork 10
/
composer.json
89 lines (89 loc) · 2.69 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
{
"name": "bakame-php/dice-roller",
"type": "library",
"description": "RPG rolling dice simulation",
"keywords": ["dice", "roll", "rpg"],
"homepage": "https://github.com/bakame-php/dice-roller",
"license": "MIT",
"authors": [
{
"name": "Bertrand Andres",
"role": "Developer"
},
{
"name": "Ignace Nyamagana Butera",
"role": "Developer"
}
],
"require": {
"php": "^8.0",
"ext-json": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.3",
"infection/infection": "^0.25.1",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-strict-rules": "^1.0",
"phpunit/phpunit": "^9.5.10",
"psr/log": "^3.0",
"vimeo/psalm": "^4.13"
},
"suggest": {
"psr/log": "to use the PSR-3 compatible tracer"
},
"autoload": {
"psr-4": {
"Bakame\\DiceRoller\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Bakame\\DiceRoller\\Test\\": "tests"
}
},
"scripts": {
"phpcs": "php-cs-fixer fix -v --diff --dry-run --allow-risky=yes;",
"phpstan": "phpstan analyse -l max -c phpstan.neon src --memory-limit 192M",
"psalm": "psalm --show-info=true",
"phpunit": "phpunit --coverage-text",
"infection-linux": "infection -j$(nproc) --coverage=build --ignore-msi-with-no-mutations --min-covered-msi=70",
"infection-osx": "infection -j$(sysctl -n hw.ncpu) --coverage=build --ignore-msi-with-no-mutations --min-covered-msi=70",
"test": [
"@phpunit",
"@phpstan",
"@psalm",
"@phpcs"
],
"test-linux": [
"@test",
"@infection-linux"
],
"test-osx": [
"@test",
"@infection-osx"
]
},
"scripts-descriptions": {
"phpcs": "Runs coding style test suite",
"phpstan": "Runs complete codebase static analysis",
"psalm": "Runs complete codebase static analysis",
"phpunit": "Runs unit and functional testing",
"infection-linux": "Runs infection on linux based OS system",
"infection-osx": "Runs infection on mac OS system",
"test": "Runs all tests except for infection test",
"test-linux": "Runs full test suite with infection on linux based OS system",
"test-osx": "Runs full test suite with infection on mac OS system"
},
"bin": [
"bin/roll"
],
"extra": {
"branch-alias": {
"dev-master": "1.x-dev"
}
},
"config": {
"sort-packages": true
}
}