-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathcomposer.json
57 lines (57 loc) · 1.66 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
{
"name": "akondas/php-grandmaster",
"type": "library",
"description": "PHP-Grandmaster - chess engine written in PHP",
"keywords": [
"chess",
"game",
"chess engine",
"pattern recognition",
"artificial intelligence"
],
"homepage": "https://github.com/akondas/php-grandmaster",
"license": "MIT",
"authors": [
{
"name": "Arkadiusz Kondas",
"email": "[email protected]"
}
],
"require": {
"php": "^7.2",
"ext-json": "*",
"akondas/chess.php": "^1.0",
"mnapoli/bref": "^0.3.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.14",
"phpunit/phpunit": "^8.0",
"phpbench/phpbench": "^0.15.0",
"phpstan/phpstan": "^0.11.1",
"phpstan/phpstan-phpunit": "^0.11.0",
"phpstan/phpstan-strict-rules": "^0.11.0"
},
"autoload": {
"psr-4": {
"Grandmaster\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Grandmaster\\Tests\\": "tests/",
"Grandmaster\\Benchmarks\\": "benchmarks/"
}
},
"scripts": {
"phpstan": "./vendor/bin/phpstan analyze src tests benchmarks --level max --configuration phpstan.neon",
"test": "./vendor/bin/phpunit",
"fix-cs": "./vendor/bin/php-cs-fixer fix --config=.php_cs",
"check-cs": "./vendor/bin/php-cs-fixer fix --config=.php_cs --dry-run",
"benchmark": "./vendor/bin/phpbench run benchmarks/ --report=aggregate --retry-threshold=2",
"build": [
"@check-cs",
"@phpstan",
"@test"
]
}
}