mirror of
https://github.com/furyfire/trueskill.git
synced 2025-06-27 15:21:31 +00:00
65 lines
1.6 KiB
JSON
65 lines
1.6 KiB
JSON
{
|
|
"name": "dnw/php-trueskill",
|
|
"description": "Trueskill implementation by Moserware updated for PHP 8.4",
|
|
"keywords": [
|
|
"trueskill",
|
|
"matchmaking",
|
|
"ranking",
|
|
"skill",
|
|
"elo"
|
|
],
|
|
"require": {
|
|
"php": "^8.4"
|
|
},
|
|
"require-dev": {
|
|
"phpmetrics/phpmetrics": "^3.0-dev",
|
|
"phpunit/phpunit": "^11.2",
|
|
"rector/rector": "^1.0",
|
|
"league/csv": "^9.0"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"DNW\\Skills\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"psr-4": {
|
|
"DNW\\Skills\\Tests\\": "tests/"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"test": "phpunit",
|
|
"document": [
|
|
"tools/phpcs --generator=MarkDown > docs/CodeStandard.md",
|
|
"tools/phpdocumentor"
|
|
],
|
|
"benchmark": "tools/phpbench run --report=default --output=build-artifact",
|
|
"metrics": "vendor/bin/phpmetrics --config=phpmetrics.yml",
|
|
"lint": [
|
|
"tools/phpcs",
|
|
"tools/phpcbf src/ tests/ benchmark/ examples/",
|
|
"tools/phpmd src/,tests/,benchmark/,examples/ text phpmd.ruleset.xml"
|
|
],
|
|
"analyze": [
|
|
"@analyze-phpstan",
|
|
"@analyze-psalm",
|
|
"@analyze-rector"
|
|
],
|
|
"analyze-phpstan": "tools/phpstan analyze --error-format=raw",
|
|
"analyze-psalm": "tools/psalm --no-cache --show-info=true",
|
|
"analyze-rector": "vendor/bin/rector --dry-run",
|
|
"html": [
|
|
"pandoc -s README.md -o output/README.html",
|
|
"pandoc -s docs/index.rst -o output/index.html",
|
|
"pandoc -s docs/CodeStandard.md -o output/CodeStandard.html --metadata title=\"Code Standard\""
|
|
],
|
|
"all": [
|
|
"@test",
|
|
"@lint",
|
|
"@analyze",
|
|
"@document",
|
|
"@metrics",
|
|
"@html"
|
|
]
|
|
}
|
|
} |