-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
85 lines (85 loc) · 2.36 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
{
"name": "ouxsoft/dynamoimage",
"description": "A PHP library for sizing, offseting, cropping images for the web. ",
"keywords": [
"srcset",
"picture",
"cropping",
"image",
"offset",
"resize"
],
"type": "library",
"license": "Apache License 2.0",
"homepage": "https://github.com/Ouxsoft/DynamoImage",
"support": {
"issues": "https://github.com/Ouxsoft/DynamoImage/issues"
},
"authors": [
{
"name": "Ouxsoft",
"homepage": "http://ouxsoft.com",
"role": "Organization"
}
],
"minimum-stability": "stable",
"prefer-stable": true,
"require": {
"php": ">=7.1",
"ext-gd": "*",
"laminas/laminas-validator": "2.14.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^v3.1.0",
"phpunit/phpunit": "^9",
"phpbench/phpbench": "^1.1",
"phpstan/phpstan": "^0.12.99"
},
"autoload": {
"psr-4": {
"Ouxsoft\\DynamoImage\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Ouxsoft\\DynamoImage\\Tests\\": "tests/"
}
},
"scripts": {
"qc" : [
"@fix-code-standards",
"@test"
],
"test": [
"@unit-test",
"@feature-test",
"@coverage-test",
"@benchmark-test",
"@static-analysis-test",
"@code-standards-test"
],
"unit-test": [
"./vendor/bin/phpunit --no-coverage --testsuite unit"
],
"feature-test": [
"./vendor/bin/phpunit --no-coverage --testsuite feature"
],
"coverage-test": [
"XDEBUG_MODE=coverage ./vendor/bin/phpunit"
],
"benchmark-test" : [
"./vendor/bin/phpbench run tests/src/Benchmark --report=env --progress=dots"
],
"static-analysis-test" : [
"./vendor/bin/phpstan analyse -c phpstan.neon"
],
"fix-code-standards": [
"php-cs-fixer fix --using-cache=no src/",
"php-cs-fixer fix --using-cache=no tests/"
],
"code-standards-test": [
"php-cs-fixer fix --dry-run --diff --verbose --using-cache=no src/ ",
"php-cs-fixer fix --dry-run --diff --verbose --using-cache=no tests/"
]
}
}