-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathcomposer.json
50 lines (50 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
{
"name": "manton/jsonfeed-wp",
"description": "JSON Feed for WordPress",
"type": "wordpress-plugin",
"license": "GPLv2 or later",
"support": {
"issues": "https://github.com/manton/jsonfeed-wp/issues",
"source": "https://github.com/manton/jsonfeed-wp"
},
"extra": {
"installer-name": "jsonfeed"
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require": {
"php": ">=5.6.0",
"composer/installers": "~1.12"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "*",
"squizlabs/php_codesniffer": "*",
"phpcompatibility/php-compatibility": "*",
"wp-coding-standards/wpcs": "*",
"wpreadme2markdown/wp2md": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"php-parallel-lint/php-parallel-lint": "^1.2",
"sebastian/phpcpd": "^3.0 || ^5.0 || ^6.0"
},
"prefer-stable" : true,
"scripts": {
"lint:phpcpd": "./vendor/bin/phpcpd --fuzzy --exclude .git --exclude vendor .",
"lint:wpcs": "./vendor/bin/phpcs -s --runtime-set ignore_warnings_on_exit 1",
"lint:wpcs-fix": "./vendor/bin/phpcbf",
"lint": "./vendor/bin/phpcs -n -q",
"lint:php": "@php ./vendor/bin/parallel-lint --exclude .git --exclude vendor .",
"install-codestandards": [
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run"
],
"update-readme": [
"wp2md -i readme.txt | tail -n +10 > README.md"
],
"post-update-cmd": [
"@update-readme"
]
}
}