-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathcomposer.json
More file actions
58 lines (58 loc) · 1.68 KB
/
composer.json
File metadata and controls
58 lines (58 loc) · 1.68 KB
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
{
"name": "sof3/infoapi",
"type": "library",
"require": {
"pocketmine/pocketmine-mp": "^5.0.0",
"sof3/await-generator": "^3.6.1",
"sof3/pmevent": "^0.0.2",
"sof3/zleep": "^0.1.0",
"php": "^8.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.20",
"phpstan/extension-installer": "^1.1.0",
"phpstan/phpstan": "^1.10.0",
"phpstan/phpstan-phpunit": "^1.0.0",
"phpunit/phpunit": "^9.5.0",
"sof3/pharynx": "^0.3.4"
},
"license": "Apache-2.0",
"autoload": {
"classmap": ["shared", "lib"]
},
"autoload-dev": {
"classmap": ["tests"]
},
"extra": {
"virion": {
"spec": "3.1",
"namespace-root": "SOFe\\InfoAPI",
"shared-namespace-root": "Shared\\SOFe\\InfoAPI"
}
},
"scripts": {
"fmt": "vendor/bin/php-cs-fixer fix",
"analyze": "vendor/bin/phpstan",
"baseline": "vendor/bin/phpstan --generate-baseline --allow-empty-baseline",
"test": [
"vendor/bin/pharynx -s shared -s lib -o pharynx-tmp-src # drop trailing args",
"vendor/bin/phpunit tests --bootstrap tests/autoload-bootstrap.php",
"rm -r pharynx-tmp-src # drop trailing args"
],
"all": [
"composer install --ignore-platform-reqs",
"composer fmt",
"composer analyze",
"composer test"
],
"gen-doc": [
"mkdir doc/gen || true",
"php dump-infos.php >doc/gen/defaults.json"
]
},
"config": {
"allow-plugins": {
"phpstan/extension-installer": true
}
}
}