-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
60 lines (60 loc) · 1.87 KB
/
composer.json
File metadata and controls
60 lines (60 loc) · 1.87 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
{
"name": "factorio-item-browser/api-client",
"description": "The API client of the Factorio Item Browser.",
"homepage": "https://github.com/factorio-item-browser/api-client",
"type": "library",
"keywords": ["Factorio Item Browser", "FIB", "api", "client", "BluePsyduck"],
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "BluePsyduck",
"email": "bluepsyduck@gmx.com"
}
],
"require": {
"php": "^7.4 | ^8.0",
"ext-json": "*",
"bluepsyduck/jms-serializer-factory": "^1.0",
"factorio-item-browser/common": "^1.0",
"guzzlehttp/guzzle": "^6.3 | ^7.0",
"jms/serializer": "^3.2",
"laminas/laminas-servicemanager": "^3.0",
"symfony/yaml": "^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\\Client\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"FactorioItemBrowserTest\\Api\\Client\\": "test/src/",
"FactorioItemBrowserTestAsset\\Api\\Client\\": "test/asset/",
"FactorioItemBrowserTestSerializer\\Api\\Client\\": "test/serializer/"
}
},
"scripts": {
"coverage-check": "coverage-check test/coverage/clover.xml 100",
"phpcbf": "phpcbf -p --colors",
"phpcs": "phpcs -p --colors",
"phpstan": "phpstan analyse --no-interaction --ansi",
"test-unit": "phpunit --testsuite unit-test --colors=always --coverage-html=test/coverage --coverage-clover=test/coverage/clover.xml",
"test-serialize": "phpunit --testsuite serializer-test --colors=always",
"test": [
"@test-unit",
"@coverage-check",
"@test-serialize",
"@phpcs",
"@phpstan"
]
}
}