forked from WordPress/five-for-the-future
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
36 lines (36 loc) · 1.2 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
{
"name": "wordpress/five-for-the-future",
"description": "",
"homepage": "https://wordpress.org/five-for-the-future",
"license": "GPL-2.0-or-later",
"support": {
"issues": "https://github.com/WordPress/five-for-the-future/issues"
},
"config": {
"platform": {
"php": "7.2"
},
"vendor-dir": "mu-plugins/vendor",
"_comment": "Work around `test:watch` timeout, see https://github.com/spatie/phpunit-watcher/issues/63#issuecomment-545633709",
"process-timeout": 0
},
"require": {},
"_comment" : "PHPUnit 7.x is the latest version that's compatible with Core, see https://core.trac.wordpress.org/ticket/46149",
"require-dev" : {
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"wp-coding-standards/wpcs": "2.1.1",
"phpunit/phpunit": "^7",
"spatie/phpunit-watcher": "^1.23"
},
"scripts": {
"phpcs": [
"phpcs --extensions=php -s -p"
],
"phpcbf": [
"phpcbf -p"
],
"test" : "phpunit",
"_comment" : "Input won't work when running this via `composer test:watch`. If you want to use PHPUnit Watcher's interactive options then you'll need to call it directly in your terminal. See https://github.com/composer/composer/issues/5856",
"test:watch" : "phpunit-watcher watch"
}
}