forked from julien-boudry/Condorcet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
89 lines (89 loc) · 2.99 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"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": "[email protected]",
"homepage": "https://artisanat-furieux.net/",
"role": "Developer"
}
],
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/julien-boudry"
},
{
"type": "bitcoin",
"url": "https://blockchair.com/bitcoin/address/bc1q3jllk3qd9fjvvuqy07tawkv7t6h7qjf55fc2gh"
}
],
"require": {
"php": "^8.2",
"ext-json": "*",
"ext-mbstring": "*",
"symfony/console": "^6.2",
"symfony/yaml": "^6.2",
"brick/math": "^0.11"
},
"require-dev": {
"ext-pdo": "*",
"ext-pdo_sqlite": "*",
"phpbench/phpbench": "*",
"phpunit/phpunit": "^10.1",
"haydenpierce/class-finder": ">= 0.5.1",
"infection/infection": "^0.26",
"phpstan/phpstan": "^1.9",
"laravel/pint": "^1.10"
},
"suggest": {
"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",
"document": "php Dev/update-documentation.php",
"pintify": "pint"
},
"scripts-descriptions": {
"test": "Run all tests!",
"document": "Generate documentation",
"pintify": "Run laravel Pint"
},
"bin": ["bin/condorcet"],
"archive": {
"exclude": [
"/Assets",
"/Benchmarks",
"/Dev/",
"/Docs",
"/Examples",
"/Tests",
"*.dist"
]
},
"config": {
"allow-plugins": {
"infection/extension-installer": false,
"pestphp/pest-plugin": false
}
}
}