forked from Yoast/wordpress-seo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
146 lines (146 loc) · 5.44 KB
/
composer.json
File metadata and controls
146 lines (146 loc) · 5.44 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "yoast/wordpress-seo",
"description": "Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO plugin.",
"keywords": [
"wordpress",
"seo"
],
"homepage": "https://yoa.st/1ui",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Team Yoast",
"email": "support@yoast.com",
"homepage": "https://yoa.st/1--"
}
],
"type": "wordpress-plugin",
"support": {
"issues": "https://github.com/Yoast/wordpress-seo/issues",
"forum": "https://wordpress.org/support/plugin/wordpress-seo",
"wiki": "https://github.com/Yoast/wordpress-seo/wiki",
"source": "https://github.com/Yoast/wordpress-seo"
},
"require": {
"php": "^5.6.0||^7.0",
"composer/installers": "~1.0",
"yoast/license-manager": "1.6.0",
"yoast/i18n-module": "^3.1.1",
"yoast/api-libs": "^2.0",
"xrstf/composer-php52": "^1.0.20",
"j4mie/idiorm": "^1.5",
"pimple/pimple": "^3.2",
"ruckusing/ruckusing-migrations": "^1.1",
"psr/log": "^1.0",
"league/oauth2-client": "^2.4",
"symfony/dependency-injection": "^3.4"
},
"require-dev": {
"yoast/php-development-environment": "^1.0",
"yoast/yoastcs": "~0.4.3",
"phpcompatibility/phpcompatibility-wp": "^2.0.0",
"humbug/php-scoper": "^0.6.0",
"brain/monkey": "^2.2",
"phpunit/phpunit": "^5.7"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"classmap": [
"admin/",
"frontend/",
"inc/",
"deprecated/",
"cli/",
"deprecated/",
"vendor_prefixed/",
"src/"
]
},
"autoload-dev": {
"classmap": [
"tests/",
"integration-tests/",
"config/"
]
},
"scripts": {
"test": [
"phpunit -c phpunit.xml.dist"
],
"integration-test": [
"phpunit -c phpunit-integration.xml.dist"
],
"config-yoastcs": [
"@php ./vendor/squizlabs/php_codesniffer/scripts/phpcs --config-set installed_paths ../../../vendor/wp-coding-standards/wpcs,../../../vendor/yoast/yoastcs,../../../vendor/phpcompatibility/php-compatibility,../../../vendor/phpcompatibility/phpcompatibility-paragonie,../../../vendor/phpcompatibility/phpcompatibility-wp",
"@php ./vendor/squizlabs/php_codesniffer/scripts/phpcs --config-set default_standard Yoast"
],
"check-cs": [
"@php ./vendor/squizlabs/php_codesniffer/scripts/phpcs"
],
"premium-check-cs": [
"@before-premium-cs",
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --ignore=*/premium/cli/,*/tests/load/wp-seo-premium.php --runtime-set ignore_warnings_on_exit 1",
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs ./premium/cli/ --runtime-set testVersion 5.3- --runtime-set ignore_warnings_on_exit 1",
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs ./tests/load/wp-seo-premium.php --runtime-set testVersion 5.6- --runtime-set ignore_warnings_on_exit 1",
"@after-premium-cs"
],
"check-cs-errors": [
"@php ./vendor/squizlabs/php_codesniffer/scripts/phpcs --error-severity=1 --warning-severity=6"
],
"fix-cs": [
"@php ./vendor/squizlabs/php_codesniffer/scripts/phpcbf"
],
"premium-fix-cs": [
"@before-premium-cs",
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf || true",
"@after-premium-cs"
],
"before-premium-cs": [
"composer require --dev yoast/yoastcs:~1.2.1 --update-with-dependencies --no-suggest --no-interaction"
],
"after-premium-cs": [
"composer require --dev yoast/yoastcs:~0.4.3 --update-with-dependencies --no-suggest --no-interaction",
"@php ./scripts/maybe-restore-composer-lock.php",
"composer config-yoastcs"
],
"prefix-dependencies": [
"composer prefix-ruckusing",
"composer prefix-idiorm",
"composer prefix-oauth2-client",
"composer prefix-symfony",
"touch ./vendor_prefixed/dependencies-prefixed.txt",
"composer du"
],
"prefix-ruckusing": [
"@php ./vendor/humbug/php-scoper/bin/php-scoper add-prefix --prefix=YoastSEO_Vendor --output-dir=./vendor_prefixed/ruckusing --config=config/php-scoper/ruckusing.inc.php --force --quiet"
],
"prefix-idiorm": [
"@php ./vendor/humbug/php-scoper/bin/php-scoper add-prefix --prefix=YoastSEO_Vendor --output-dir=./vendor_prefixed/j4mie/idiorm --config=config/php-scoper/idiorm.inc.php --force --quiet"
],
"prefix-oauth2-client": [
"@php ./vendor/humbug/php-scoper/bin/php-scoper add-prefix --prefix=YoastSEO_Vendor --output-dir=./vendor_prefixed/league/oauth2-client --config=config/php-scoper/oauth2-client.inc.php --force --quiet",
"@php ./vendor/humbug/php-scoper/bin/php-scoper add-prefix --prefix=YoastSEO_Vendor --output-dir=./vendor_prefixed/guzzlehttp --config=config/php-scoper/guzzlehttp.inc.php --force --quiet",
"@php ./vendor/humbug/php-scoper/bin/php-scoper add-prefix --prefix=YoastSEO_Vendor --output-dir=./vendor_prefixed/psr --config=config/php-scoper/psr.inc.php --force --quiet"
],
"prefix-symfony": [
"@php ./vendor/humbug/php-scoper/bin/php-scoper add-prefix --prefix=YoastSEO_Vendor --output-dir=./vendor_prefixed/symfony/dependency-injection --config=config/php-scoper/dependency-injection.inc.php --force --quiet"
],
"compile-di": [
"rm -f ./src/generated/container.php",
"rm -f ./src/generated/container.php.meta",
"composer du",
"Yoast\\WP\\Free\\Composer\\Actions::compile_dependency_injection_container"
],
"post-install-cmd": [
"xrstf\\Composer52\\Generator::onPostInstallCmd",
"Yoast\\WP\\Free\\Composer\\Actions::prefix_dependencies"
],
"post-update-cmd": [
"xrstf\\Composer52\\Generator::onPostInstallCmd"
],
"post-autoload-dump": [
"xrstf\\Composer52\\Generator::onPostInstallCmd"
]
}
}