forked from nlemoine/acf-country
/
composer.json
60 lines (60 loc) · 2.14 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
{
"name": "hellonico/acf-country",
"type": "wordpress-plugin",
"description": "Add a country field to ACF (Advanced Custom Fields)",
"keywords": [
"acf",
"advanced custom fields",
"country"
],
"homepage": "https://github.com/nlemoine/acf-country",
"license": "MIT",
"authors": [
{
"name": "Nicolas Lemoine",
"email": "dev@helloni.co",
"homepage": "https://helloni.co/"
}
],
"require": {
"php": ">=5.3.0",
"composer/installers": "^1.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2",
"phpcompatibility/phpcompatibility-wp": "^2.0",
"umpirsky/country-list": "*",
"wp-coding-standards/wpcs": "^2.2"
},
"prefer-stable": true,
"scripts": {
"post-install-cmd": [
"@install-codestandards",
"@configure-phpcs",
"@sync-country-data"
],
"post-update-cmd": [
"@configure-phpcs",
"@sync-country-data"
],
"configure-phpcs": [
"if [ -f vendor/bin/phpcs ]; then \"vendor/bin/phpcs\" --config-set colors 1; fi",
"if [ -f vendor/bin/phpcs ]; then \"vendor/bin/phpcs\" --config-set show_progress 0; fi",
"if [ -f vendor/bin/phpcs ]; then \"vendor/bin/phpcs\" --config-set report_width auto; fi",
"if [ -f vendor/bin/phpcs ]; then \"vendor/bin/phpcs\" --config-set encoding utf-8; fi",
"if [ -f vendor/bin/phpcs ]; then \"vendor/bin/phpcs\" --config-set ignore_warnings_on_exit 1; fi"
],
"fix": "./vendor/bin/phpcbf",
"install-codestandards": [
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
],
"sync-country-data": [
"rsync -zavr --include '*/' --include '*.php' --exclude '*' --prune-empty-dirs vendor/umpirsky/country-list/data ."
],
"test": "./vendor/bin/phpcs"
},
"support": {
"issues": "https://github.com/nlemoine/acf-country/issues",
"source": "https://github.com/nlemoine/acf-country.git"
}
}