forked from Flynsarmy/image-optimizer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
46 lines (46 loc) · 1.47 KB
/
composer.json
File metadata and controls
46 lines (46 loc) · 1.47 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
{
"name": "flynsarmy/image-optimizer",
"type": "library",
"description": "Image optimization / compression library. This library is able to optimize png, jpg and gif files in very easy and handy way. It uses optipng, pngquant, pngcrush, pngout, gifsicle, jpegoptim and jpegtran tools.",
"keywords": ["image optimizer", "compression", "image", "optimization", "jpegoptim", "optipng"],
"minimum-stability": "stable",
"license": "MIT",
"authors": [
{
"name": "Piotr Sliwa",
"email": "peter.pl7@gmail.com"
},
{
"name": "Flyn San",
"email": "flynsarmy@gmail.com"
}
],
"autoload": {
"psr-0": {
"ImageOptimizer": "src/"
}
},
"require": {
"php": "^8.0",
"symfony/process": "~5.0 | ~6.0",
"symfony/options-resolver": "~5.0 | ~6.0",
"psr/log": "^1.0 | ^2.0 | ^3.0"
},
"require-dev": {
"phpunit/phpunit": "~9.5",
"ext-gd": "*",
"squizlabs/php_codesniffer": "~3.6",
"phpstan/phpstan": "^1.4"
},
"scripts": {
"phpstan": "php -d memory_limit=-1 ./vendor/bin/phpstan analyse",
"phpcs": "vendor/bin/phpcs -s --standard=./.phpcs.xml ./",
"phpcbf": "vendor/bin/phpcbf --standard=./.phpcs.xml ./",
"phpunit": "vendor/bin/phpunit",
"test": [
"composer validate --strict",
"@phpcs",
"@phpunit"
]
}
}