forked from xwp/stream
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
77 lines (77 loc) · 2.24 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
{
"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": {
"composer/installers": "~1.0"
},
"require-dev": {
"automattic/vipwpcs": "^2.3",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.2",
"humanmade/mercator": "^1.0",
"johnpbloch/wordpress": "^6.2",
"php-coveralls/php-coveralls": "^2.5",
"phpcompatibility/php-compatibility": "dev-develop as 9.99.99",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpunit/phpunit": "^5.7",
"wp-cli/wp-cli-bundle": "^2.6",
"wp-coding-standards/wpcs": "^2.3",
"wp-phpunit/wp-phpunit": "^6.2",
"wpackagist-plugin/advanced-custom-fields": "5.8.12",
"wpackagist-plugin/easy-digital-downloads": "2.9.23",
"wpackagist-plugin/jetpack": "10.0",
"wpackagist-plugin/user-switching": "1.5.5",
"wpsh/local": "^0.2.3",
"yoast/phpunit-polyfills": "^1.0"
},
"config": {
"process-timeout": 600,
"sort-packages": true,
"platform": {
"php": "7.4"
},
"allow-plugins": {
"composer/installers": true,
"johnpbloch/wordpress-core-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"extra": {
"wordpress-install-dir": "local/public",
"installer-paths": {
"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"
],
"test": [
"phpunit --coverage-text",
"php local/scripts/make-clover-relative.php ./tests/reports/clover.xml"
],
"test-multisite": [
"WP_MULTISITE=1 phpunit --coverage-text",
"php local/scripts/make-clover-relative.php ./tests/reports/clover.xml"
],
"test-report": [
"php-coveralls --verbose"
]
}
}