-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcomposer.json
71 lines (71 loc) · 1.96 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
{
"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": "mr.ryansilalahi@gmail.com"
},
{
"name": "Arkadiusz Kondas",
"email": "arkadiusz.kondas@gmail.com"
},
{
"name": "Massimiliano Arione",
"email": "garakkio@gmail.com"
}
],
"require": {
"php": "^7.4 || ^8.0",
"ext-ctype": "*",
"ext-json": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.48",
"imagine/imagine": "^1.3",
"johnkary/phpunit-speedtrap": "^4.0",
"phpbench/phpbench": "^1.2",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.6"
},
"suggest": {
"imagine/imagine": "To generate board images."
},
"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"
],
"build-ci": [
"@check-cs",
"@phpstan",
"@test-ci"
],
"check-cs": "./vendor/bin/php-cs-fixer fix -v --dry-run",
"fix-cs": "./vendor/bin/php-cs-fixer fix -v",
"phpstan": "./vendor/bin/phpstan analyze",
"test": "./vendor/bin/phpunit",
"test-ci": "./vendor/bin/phpunit --coverage-clover 'clover.xml'"
}
}