forked from p-chess/chess
-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
60 lines (60 loc) · 1.71 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
{
"name": "p-chess/chess",
"type": "library",
"description": "A PHP chess library that is used for chess move generation/validation, piece placement/movement, and check/checkmate/stalemate detection",
"license": "MIT",
"authors": [
{
"name": "ryan hs",
"email": "[email protected]"
},
{
"name": "Arkadiusz Kondas",
"email": "[email protected]"
},
{
"name": "Massimiliano Arione",
"email": "[email protected]"
}
],
"require": {
"php": "^7.2",
"ext-json": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.14",
"johnkary/phpunit-speedtrap": "^3.0",
"phpbench/phpbench": "^0.15.0",
"phpstan/phpstan": "^0.11.1",
"phpunit/phpunit": "^8.5"
},
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
}
},
"autoload": {
"psr-4": {
"PChess\\Chess\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PChess\\Chess\\Test\\": "tests/",
"PChess\\Chess\\Benchmark\\": "benchmarks/"
}
},
"minimum-stability": "stable",
"scripts": {
"benchmark": "./vendor/bin/phpbench run benchmarks/ --report=aggregate --retry-threshold=2",
"build": [
"@check-cs",
"@phpstan",
"@test"
],
"check-cs": "./vendor/bin/php-cs-fixer fix --dry-run",
"fix-cs": "./vendor/bin/php-cs-fixer fix",
"phpstan": "./vendor/bin/phpstan analyze src tests benchmarks --level 3 --configuration phpstan.neon",
"test": "./vendor/bin/phpunit"
}
}