forked from Automattic/msm-sitemap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
75 lines (75 loc) · 1.89 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
{
"name": "newsuk/nuk-msm-sitemap",
"type": "wordpress-plugin",
"description": "Comprehensive sitemaps for your WordPress.com VIP site.",
"homepage": "https://github.com/newsuk/nuk-msm-sitemap/",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Automattic",
"homepage": "https://automattic.com/"
},
{
"name": "NewsUK Content Platforms"
}
],
"require": {
"php": ">=7.4",
"composer/installers": "~1.0"
},
"require-dev": {
"automattic/vipwpcs": "^2.2",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpunit/phpunit": "^9",
"squizlabs/php_codesniffer": "^3.5",
"wp-coding-standards/wpcs": "^2.3.0",
"yoast/wp-test-utils": "^1.2.0"
},
"autoload-dev": {
"psr-4": {
"Automattic\\MSM_Sitemap\\Tests\\": "tests/"
}
},
"scripts": {
"coverage": [
"@php ./vendor/bin/phpunit --coverage-html ./.phpunit.cache/code-coverage-html"
],
"coverage-ci": [
"@php ./vendor/bin/phpunit"
],
"cbf": [
"@php ./vendor/bin/phpcbf"
],
"cs": [
"@php ./vendor/bin/phpcs"
],
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git"
],
"lint-ci": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --exclude vendor --exclude .git --checkstyle"
],
"prepare-ci": [
"bash bin/install-wp-tests.sh wordpress_test root root localhost"
],
"test": [
"@php ./vendor/bin/phpunit --testsuite WP_Tests --no-coverage"
],
"test-ms": [
"@putenv WP_MULTISITE=1",
"@composer test"
]
},
"support": {
"issues": "https://github.com/newsuk/nuk-msm-sitemap/issues",
"source": "https://github.com/newsuk/nuk-msm-sitemap"
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}