-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
80 lines (80 loc) · 2.46 KB
/
composer.json
File metadata and controls
80 lines (80 loc) · 2.46 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "factorio-item-browser/api-server",
"description": "The API server of the Factorio Item Browser.",
"homepage": "https://github.com/factorio-item-browser/api-server",
"type": "project",
"keywords": ["Factorio Item Browser", "FIB", "api", "server", "BluePsyduck"],
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "BluePsyduck",
"email": "bluepsyduck@gmx.com"
}
],
"minimum-stability": "stable",
"require": {
"php": "^8.0",
"ext-json": "*",
"ext-PDO": "*",
"bluepsyduck/mapper-manager": "^1.0",
"bluepsyduck/laminas-autowire-factory": "^1.0",
"bluepsyduck/ga4-measurement-protocol": "^2.0",
"doctrine/cache": "^1.10",
"factorio-item-browser/api-client": "^4.1",
"factorio-item-browser/api-database": "^3.7",
"factorio-item-browser/api-search": "^2.1",
"factorio-item-browser/combination-api-client": "^1.1",
"guzzlehttp/guzzle": "^7.3",
"laminas/laminas-config-aggregator": "^1.0",
"laminas/laminas-diactoros": "^2.5",
"laminas/laminas-log": "^2.9",
"laminas/laminas-servicemanager": "^3.3",
"mezzio/mezzio": "^3.0",
"mezzio/mezzio-fastroute": "^3.0",
"mezzio/mezzio-helpers": "^5.0",
"ramsey/uuid": "^4.0",
"symfony/console": "^5.0"
},
"require-dev": {
"bluepsyduck/test-helper": "^2.0",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-strict-rules": "^1.0",
"phpunit/phpunit": "^9.0",
"rregeer/phpunit-coverage-check": "^0.3",
"squizlabs/php_codesniffer": "^3.3"
},
"autoload": {
"psr-4": {
"FactorioItemBrowser\\Api\\Server\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"FactorioItemBrowserTest\\Api\\Server\\": "test/src/"
}
},
"scripts": {
"build-cache": [
"rm -rf data/cache/*",
"bin/build-cache.php",
"vendor/bin/doctrine orm:generate-proxies",
"chown -R www-data:www-data data/cache/*"
],
"coverage-check": "coverage-check test/coverage/clover.xml 100",
"phpcbf": "phpcbf -p --colors",
"phpcs": "phpcs -p --colors",
"phpstan": "phpstan analyse --no-interaction --ansi",
"phpunit": "phpunit --colors=always --coverage-html=test/coverage --coverage-clover=test/coverage/clover.xml",
"post-autoload-dump": [
"mkdir -p data/cache data/log && chmod 0777 data/cache data/log"
],
"test": [
"@composer validate --strict",
"@phpunit",
"@coverage-check",
"@phpcs",
"@phpstan"
]
}
}