-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
57 lines (57 loc) · 1.57 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
{
"type": "library",
"name": "locomotivemtl/charcoal-contrib-tinify",
"description": "Charcoal service provider for optimizing JPG and PNG assets.",
"keywords": [
"charcoal"
],
"homepage": "https://locomotivemtl.github.io/charcoal-contrib-tinify/",
"license": "MIT",
"authors": [
{
"name": "Locomotive",
"homepage": "https://locomotive.ca"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"branch-alias": {
"dev-master": "0.1.x-dev"
}
},
"require": {
"php": ">=5.6.0 || >=7.0",
"locomotivemtl/charcoal-admin": ">= 0.16.1",
"tinify/tinify": "^1.5"
},
"require-dev": {
"phpunit/phpunit": "^5.7 || ^6.5",
"squizlabs/php_codesniffer": "^3.0",
"php-coveralls/php-coveralls": "^2.0"
},
"autoload": {
"psr-4": {
"Charcoal\\": "src/Charcoal/"
}
},
"autoload-dev": {
"psr-4": {
"Charcoal\\Tests\\": "tests/Charcoal/"
}
},
"scripts": {
"test": [
"@tests"
],
"tests": [
"@phplint",
"@phpcs",
"@phpunit"
],
"phplint": "find {src,tests} -name '*.php' -print0 | xargs -0 -n1 -P8 php -l | grep -v '^No syntax errors detected'; test $? -eq 1",
"phpcs": "php vendor/bin/phpcs -ps --colors src/ tests/",
"phpcbf": "php vendor/bin/phpcbf -ps --colors src/ tests/",
"phpunit": "php vendor/bin/phpunit --coverage-text"
}
}