-
Notifications
You must be signed in to change notification settings - Fork 25
/
composer.json
98 lines (98 loc) · 2.76 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"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.4"
},
"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,
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"preferred-install": {
"wporg/*": "source"
}
},
"extra": {
"installer-paths": {
"mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"plugins/{$name}/": ["type:wordpress-plugin"],
"themes/{$name}/": ["type:wordpress-theme"]
}
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org/"
},
{
"type": "vcs",
"url": "[email protected]:WordPress/wporg-mu-plugins.git"
},
{
"type": "vcs",
"url": "[email protected]:WordPress/wporg-parent-2021.git"
},
{
"type": "package",
"package": [
{
"name": "wordpress-meta/pub",
"type": "wordpress-muplugin",
"version": "1",
"source": {
"type": "svn",
"url": "https://meta.svn.wordpress.org/sites/",
"reference": "trunk/wordpress.org/public_html/wp-content/mu-plugins/pub/"
}
},
{
"name": "wordpress-meta/handbook",
"type": "wordpress-plugin",
"version": "2",
"source": {
"type": "svn",
"url": "https://meta.svn.wordpress.org/sites/",
"reference": "trunk/wordpress.org/public_html/wp-content/plugins/handbook/"
}
}
]
}
],
"require-dev" : {
"composer/installers": "~1.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"phpcompatibility/phpcompatibility-wp": "*",
"phpunit/phpunit": "^9",
"spatie/phpunit-watcher": "^1.23",
"wp-coding-standards/wpcs": "3.0.*",
"wordpress-meta/pub": "1",
"wordpress-meta/handbook": "2",
"wpackagist-plugin/gutenberg": "*",
"wpackagist-plugin/jetpack": "*",
"wpackagist-plugin/wordpress-importer": "*",
"wporg/wporg-mu-plugins": "dev-build",
"wporg/wporg-parent-2021": "dev-build",
"yoast/phpunit-polyfills": "^1.1"
},
"scripts": {
"lint": [
"phpcs --extensions=php -s -p"
],
"format": [
"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",
"test:coverage": "php -d xdebug.mode=coverage ./mu-plugins/vendor/bin/phpunit --coverage-html coverage"
}
}