generated from keboola/template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
72 lines (72 loc) · 2 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
{
"name": "keboola/settle",
"license": "MIT",
"type": "library",
"description": "Settle provides a function to wait for something to happen.",
"keywords": [
"keboola",
"settle",
"wait"
],
"authors": [
{
"name": "Keboola",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"Keboola\\Settle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Keboola\\Settle\\Tests\\": "tests/"
}
},
"require": {
"php": ">=7.4",
"ext-json": "*",
"keboola/common-exceptions": "^1.1",
"psr/log": "^1.1|^2.0|^3.0",
"symfony/config": "^5.2|^6.2"
},
"require-dev": {
"infection/infection": "^0.26",
"keboola/coding-standard": ">=14.0.0",
"monolog/monolog": "^2.1",
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^9.5",
"sempro/phpunit-pretty-print": "^1.4",
"symfony/dotenv": "^6.2"
},
"scripts": {
"tests": [
"@putenv XDEBUG_MODE=coverage",
"phpunit --coverage-clover build/logs/clover.xml --coverage-xml=build/logs/coverage-xml --log-junit=build/logs/phpunit.junit.xml"
],
"phpstan": "phpstan analyse --no-progress -c phpstan.neon",
"phpcs": "phpcs --extensions=php src tests",
"phpcbf": "phpcbf --extensions=php src tests",
"infection": "infection --threads=2 --min-covered-msi=90 --coverage=build/logs",
"build": [
"@phpcs",
"@phpstan",
"@tests",
"@infection"
],
"ci": [
"@composer validate --no-check-all --strict",
"@build"
]
},
"config": {
"sort-packages": true,
"lock": false,
"process-timeout": 3600,
"allow-plugins": {
"infection/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}