-
Notifications
You must be signed in to change notification settings - Fork 116
/
composer.json
104 lines (104 loc) · 3.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
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
99
100
101
102
103
104
{
"name": "xwp/stream",
"description": "Track WordPress user and system actions for debugging, logging and compliance purposes",
"homepage": "https://wordpress.org/plugins/stream/",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"require": {
"php": ">=7.0",
"ext-json": "*",
"composer/installers": "~1.0",
"woocommerce/action-scheduler": "^3.8"
},
"require-dev": {
"automattic/vipwpcs": "^3.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.2",
"humanmade/mercator": "^1.0",
"johnbillion/query-monitor": "^3.16",
"php-coveralls/php-coveralls": "^2.5",
"phpcompatibility/php-compatibility": "dev-develop as 9.99.99",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpunit/phpunit": "^9.6",
"roots/wordpress": "^6.6",
"wp-cli/wp-cli-bundle": "^2.6",
"wp-coding-standards/wpcs": "^3.1",
"wp-phpunit/wp-phpunit": "^6.6",
"wpackagist-plugin/advanced-custom-fields": "6.3.4",
"wpackagist-plugin/buddypress": "14.0.0",
"wpackagist-plugin/classic-editor": "1.6.4",
"wpackagist-plugin/easy-digital-downloads": "3.3.1",
"wpackagist-plugin/jetpack": "13.6",
"wpackagist-plugin/two-factor": "0.9.1",
"wpackagist-plugin/user-switching": "1.8.0",
"wpackagist-plugin/wordpress-seo": "23.6",
"wpackagist-plugin/wp-crontrol": "1.17.0",
"wpackagist-theme/twentytwentythree": "^1.0",
"xwp/wait-for": "^0.0.1",
"yoast/phpunit-polyfills": "^1.1"
},
"config": {
"process-timeout": 600,
"sort-packages": true,
"platform": {
"php": "7.4"
},
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"roots/wordpress-core-installer": true
}
},
"extra": {
"wordpress-install-dir": "local/public/wp",
"installer-paths": {
"local/public/wp-content/themes/{$name}": ["type:wordpress-theme"],
"vendor/{$vendor}/{$name}/": ["woocommerce/action-scheduler"],
"local/public/wp-content/plugins/{$name}": ["type:wordpress-plugin"],
"local/public/wp-content/mu-plugins/{$name}": ["type:wordpress-muplugin"]
}
},
"scripts": {
"release": [
"composer install --no-dev --prefer-dist --optimize-autoloader"
],
"lint-php": [
"phpcs ."
],
"lint": [
"@composer validate",
"@lint-php"
],
"lint-tests": [
"phpcs ./tests --standard=./tests/phpcs.xml.dist"
],
"format": [
"phpcbf .",
"phpcbf ./tests --standard=./tests/phpcs.xml.dist"
],
"test": [
"phpunit --coverage-text",
"php local/scripts/make-clover-relative.php ./tests/reports/clover.xml"
],
"test-one": [
"phpunit",
"WP_MULTISITE=1 phpunit -c phpunit-multisite.xml"
],
"test-multisite": [
"WP_MULTISITE=1 phpunit -c phpunit-multisite.xml --coverage-text",
"php local/scripts/make-clover-relative.php ./tests/reports/clover.xml"
],
"test-xdebug": [
"XDEBUG_TRIGGER=1 phpunit",
"WP_MULTISITE=1 XDEBUG_TRIGGER=1 phpunit -c phpunit-multisite.xml"
],
"test-report": [
"php-coveralls --verbose"
]
}
}