-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathcomposer.json
69 lines (69 loc) · 2.41 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
{
"name": "aspirepress/aspire-update",
"description": "Update plugins and themes for WordPress.",
"type": "wordpress-plugin",
"license": "GPLv2",
"authors": [
{
"name": "AspirePress"
}
],
"require": {
"php": ">=7.4.0",
"afragen/autoloader": "dev-master",
"afragen/translations-updater": "^1",
"afragen/git-updater-lite": "^2"
},
"require-dev": {
"squizlabs/php_codesniffer": "3.10.3",
"wp-coding-standards/wpcs": "~3.1.0",
"yoast/phpunit-polyfills": "^1.1.0",
"nimut/phpunit-merger": "^2.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"format": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --report=summary,source",
"lint": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --report=summary,source",
"test": [
"Composer\\Config::disableProcessTimeout",
"@php ./vendor/phpunit/phpunit/phpunit"
],
"test:multisite": [
"Composer\\Config::disableProcessTimeout",
"@php ./vendor/phpunit/phpunit/phpunit -c tests/phpunit/multisite.xml"
],
"coverage:merge": [
"Composer\\Config::disableProcessTimeout",
"@putenv XDEBUG_MODE=coverage",
"@php ./vendor/bin/phpunit-merger coverage tests/phpunit/coverage/php --html tests/phpunit/coverage/html/full tests/phpunit/cache/full-cache.xml"
],
"coverage:single": [
"Composer\\Config::disableProcessTimeout",
"@putenv XDEBUG_MODE=off",
"@putenv WP_TESTS_SKIP_INSTALL=0",
"@test --filter prime_test_suite",
"@putenv XDEBUG_MODE=coverage",
"@putenv WP_TESTS_SKIP_INSTALL=1",
"@test"
],
"coverage:multisite": [
"Composer\\Config::disableProcessTimeout",
"@putenv XDEBUG_MODE=off",
"@putenv WP_TESTS_SKIP_INSTALL=0",
"@test:multisite --filter prime_test_suite",
"@putenv XDEBUG_MODE=coverage",
"@putenv WP_TESTS_SKIP_INSTALL=1",
"@test:multisite"
],
"coverage:full": [
"Composer\\Config::disableProcessTimeout",
"@coverage:single",
"@coverage:multisite",
"@coverage:merge"
]
}
}