-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
45 lines (45 loc) · 1.16 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
{
"name": "mitogh/katana",
"description": "Filters to control where the size of images are generated.",
"keywords": ["wordpress", "filter", "images"],
"homepage": "https://github.com/mitogh/Katana",
"type": "library",
"licence": "MIT",
"authors": [
{
"name": "Crisoforo Gaspar Hernandez",
"email": "[email protected]"
}
],
"require": {
"php": ">=5.3.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "2.*",
"wp-coding-standards/wpcs": "^0.9.0",
"phpunit/phpunit": "~4.5"
},
"autoload": {
"psr-4": {
"Katana\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Katana\\": "src/"
},
"files": ["src/Start.php"]
},
"scripts": {
"setup-ci": [
"./vendor/bin/phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs/",
"./vendor/bin/phpcs --config-set default_standard ./codesniffer.ruleset.xml",
"./vendor/bin/phpcs --config-set show_progress 0",
"./vendor/bin/phpcs --config-set colors 1"
],
"post-install-cmd": [ "@setup-ci"],
"post-update-cmd": [ "@setup-ci"],
"ci": [ "phpcs ./src/*.php ./src/*/*.php" ],
"test": [ "phpunit" ]
}
}