-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
28 lines (28 loc) · 964 Bytes
/
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
{
"require-dev": {
"xwp/wp-dev-lib": "1.0.1",
"brainmaestro/composer-git-hooks": "v2.6.1",
"wp-coding-standards/wpcs": "2.0.0",
"phpcompatibility/phpcompatibility-wp": "2.0.0",
"friendsofphp/php-cs-fixer": "2.14.*",
"squizlabs/php_codesniffer": "3.*",
"dealerdirect/phpcodesniffer-composer-installer": "0.5.0",
"phpunit/phpunit": "6.0.*"
},
"require": {
"php": "^5.6 || >=7.0"
},
"scripts": {
"cghooks": "vendor/bin/cghooks",
"test": "vendor/bin/phpunit",
"post-install-cmd": "vendor/bin/cghooks add --ignore-lock",
"post-update-cmd": "vendor/bin/cghooks update",
"check-style": "sh vendor/bin/php-cs-fixer fix --using-cache=no --diff --dry-run .",
"fix-style": "sh vendor/bin/php-cs-fixer fix --using-cache=no ."
},
"extra": {
"hooks": {
"pre-commit": "./bin/hooks/pre-commit"
}
}
}