forked from WordPress/site-health-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
44 lines (44 loc) · 1.5 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
{
"name": "wordpress/siteh-health-tools",
"type": "wordpress-plugin",
"description": "Introduces additional common tools to the Site Health interface.",
"keywords": [
"health check",
"site health"
],
"license": "GPL-2.0-or-later",
"require": {
"php": ">=7.1",
"ext-json": "*"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "~1.0.0",
"wp-coding-standards/wpcs": "^2.3.0",
"phpunit/phpunit": "~7.4.0",
"phpcompatibility/phpcompatibility-wp": "*",
"phpstan/phpstan": "^1.4",
"szepeviktor/phpstan-wordpress": "^1.0",
"phpstan/extension-installer": "^1.1"
},
"scripts": {
"lint": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --report=summary,source",
"lint:compat": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcompat.xml.dist --report=summary,source",
"lint:full": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs",
"lint:format": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --report=summary,source",
"phpstan": "phpstan analyse . --no-progress",
"automation:lint:compat": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcompat.xml.dist -q --report=checkstyle",
"automation:phpstan": "phpstan analyse . --error-format=checkstyle --no-progress"
},
"support": {
"issues": "https://wordpress.org/support/plugin/siteh-health-tools"
},
"config": {
"platform": {
"php": "7.1"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
}
}