87 lines
2.9 KiB
JSON
87 lines
2.9 KiB
JSON
{
|
||
"name": "julien-boudry/condorcet",
|
||
"license": "MIT",
|
||
"type": "library",
|
||
"homepage": "https://github.com/julien-boudry/Condorcet",
|
||
"description": "Complete election manager, providing natively many voting methods including: Condorcet / Borda (+ Nauru variant) / Copeland / Dodgson (2 Approximations) / FTPT / Instant-runoff (alternative vote) / Kemeny–Young / Minimax (+ variants) / Ranked Pairs (+ variants) / Schulze (+ variants), Single Transferable Vote (STV) / Comparison of Pairs of Outcomes by the Single Transferable Vote (CPO-STV)",
|
||
"keywords": ["election", "vote", "condorcet", "schulze", "tideman", "ranked pairs", "borda", "copeland", "alternative vote", "STV"],
|
||
"authors": [
|
||
{
|
||
"name": "Julien Boudry",
|
||
"email": "julien.boudry@gmail.com",
|
||
"homepage": "http://www.julien-boudry.net",
|
||
"role": "Developer"
|
||
}
|
||
],
|
||
"funding": [
|
||
{
|
||
"type": "github",
|
||
"url": "https://github.com/sponsors/julien-boudry"
|
||
},
|
||
{
|
||
"type": "bitcoin",
|
||
"url": "https://blockchair.com/bitcoin/address/bc1qesj74vczsetqjkfcwqymyns9hl6k220dhl0sr9"
|
||
}
|
||
],
|
||
"require": {
|
||
"php": "^8.1",
|
||
"ext-json": "*",
|
||
"ext-mbstring": "*",
|
||
"symfony/console": "^6.0",
|
||
"symfony/yaml": "^6.0",
|
||
"brick/math": "^0.10"
|
||
},
|
||
"require-dev": {
|
||
"ext-pdo": "*",
|
||
"ext-pdo_sqlite": "*",
|
||
"phpbench/phpbench": "*",
|
||
"phpunit/phpunit": "^9 || ^10",
|
||
"phploc/phploc": "dev-main",
|
||
"haydenpierce/class-finder": ">= 0.4.3",
|
||
"infection/infection": "^0.26",
|
||
"phpstan/phpstan": "^1.8",
|
||
"laravel/pint": "^1.1"
|
||
},
|
||
"suggest": {
|
||
"ext-mbstring": "If you need to deal with Debian vote format",
|
||
"ext-pdo": "Allow to use database for very large elections.",
|
||
"ext-pdo_sqlite": "Use sqlite3 bases for very large elections."
|
||
},
|
||
"autoload": {
|
||
"psr-4": {
|
||
"CondorcetPHP\\Condorcet\\": "src/"
|
||
}
|
||
},
|
||
"autoload-dev": {
|
||
"psr-4": {
|
||
"CondorcetPHP\\Condorcet\\Tests\\": "Tests/src/",
|
||
"CondorcetPHP\\Condorcet\\Tests\\Examples\\": "Tests/Examples/",
|
||
"CondorcetPHP\\Condorcet\\Dev\\CondorcetDocumentationGenerator\\": "Dev/CondorcetDocumentationGenerator/",
|
||
"CondorcetPHP\\Condorcet\\Benchmarks\\": "Benchmarks"
|
||
}
|
||
},
|
||
"scripts": {
|
||
"test": "phpunit"
|
||
},
|
||
"scripts-descriptions": {
|
||
"test": "Run all tests!"
|
||
},
|
||
"bin": ["bin/condorcet"],
|
||
"archive": {
|
||
"exclude": [
|
||
"/Assets",
|
||
"/Benchmarks",
|
||
"/Dev/",
|
||
"/Documentation",
|
||
"/Examples",
|
||
"/Tests",
|
||
"*.dist"
|
||
]
|
||
},
|
||
"config": {
|
||
"allow-plugins": {
|
||
"infection/extension-installer": false
|
||
}
|
||
}
|
||
}
|