forked from Automattic/maintenance-mode-wp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
61 lines (61 loc) · 1.69 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
61
{
"name": "automattic/maintenance-mode-wp",
"type": "wordpress-plugin",
"description": "Shut down your site for a little while and do some maintenance on it!",
"homepage": "https://github.com/Automattic/maintenance-mode-wp/",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Automattic",
"homepage": "https://automattic.com/"
}
],
"require": {
"php": ">=5.6",
"composer/installers": "~1.0"
},
"require-dev": {
"automattic/vipwpcs": "^2.2",
"dealerdirect/phpcodesniffer-composer-installer": "^0.4.1 || ^0.5 || ^0.6.2 || ^0.7",
"php-parallel-lint/php-parallel-lint": "^1.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpunit/phpunit": "^4 || ^5 || ^6 || ^7",
"squizlabs/php_codesniffer": "^3.5",
"wp-coding-standards/wpcs": "^2.3.0",
"yoast/phpunit-polyfills": "^0.2.0"
},
"scripts": {
"cbf": [
"@php ./vendor/bin/phpcbf"
],
"coverage": [
"@php ./vendor/bin/phpunit --coverage-html ./build/coverage-html"
],
"coverage-ci": [
"@php ./vendor/bin/phpunit"
],
"cs": [
"@php ./vendor/bin/phpcs"
],
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
],
"lint-ci": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git --checkstyle"
],
"prepare-ci": [
"bash bin/install-wp-tests.sh wordpress_test root root localhost"
],
"test": [
"@php ./vendor/bin/phpunit --testsuite WP_Tests"
],
"test-ms": [
"@putenv WP_MULTISITE=1",
"@composer test"
]
},
"support": {
"issues": "https://github.com/Automattic/maintenance-mode-wp/issues",
"source": "https://github.com/Automattic/maintenance-mode-wp"
}
}