mirror of
https://github.com/furyfire/trueskill.git
synced 2025-01-16 01:47:39 +00:00
48 lines
1.1 KiB
JSON
48 lines
1.1 KiB
JSON
{
|
|
"name": "dnw/php-trueskill",
|
|
"description": "Trueskill implementation by Moserware updated for PHP 8.2",
|
|
"keywords": ["trueskill", "matchmaking", "ranking", "skill", "elo"],
|
|
"require": {
|
|
"php": "^8.2"
|
|
},
|
|
"require-dev": {
|
|
"phpstan/phpstan": "^1.0",
|
|
"vimeo/psalm": "^5.21.1",
|
|
"phpmetrics/phpmetrics": "^3.0-dev",
|
|
"phpunit/phpunit": "^10.5"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"DNW\\Skills\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"DNW\\Skills\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": "phpunit",
|
|
"document": "phpDocumentor",
|
|
"benchmark": "phpbench run --report=default --output=build-artifact",
|
|
"metrics": "vendor/bin/phpmetrics --config=phpmetrics.json",
|
|
"lint": [
|
|
"phplint",
|
|
"phpcs"
|
|
],
|
|
"static": [
|
|
"@analyze-phpstan",
|
|
"@analyze-psalm"
|
|
],
|
|
"analyze-phpstan":"vendor/bin/phpstan analyze --error-format=raw",
|
|
"analyze-psalm": "vendor/bin/psalm --no-cache",
|
|
"all": [
|
|
"@test",
|
|
"@document",
|
|
"@benchmark",
|
|
"@lint",
|
|
"@static"
|
|
]
|
|
}
|
|
}
|