forked from Yoast/wordpress-seo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
146 lines (146 loc) · 5.31 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
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": "[email protected]",
"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.20||^7.0",
"composer/installers": "~1.0",
"yoast/license-manager": "1.6.0",
"yoast/i18n-module": "^3.1.1",
"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.12.0",
"brain/monkey": "^2.4",
"phpunit/phpunit": "^5.7",
"atanamo/php-codeshift": "^1.0",
"symfony/config": "^3.4"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"classmap": [
"admin/",
"frontend/",
"inc/",
"deprecated/",
"cli/",
"vendor_prefixed/",
"src/"
]
},
"autoload-dev": {
"classmap": [
"tests/",
"integration-tests/",
"config/"
]
},
"scripts": {
"test": [
"@php ./vendor/phpunit/phpunit/phpunit"
],
"integration-test": [
"@php ./vendor/phpunit/phpunit/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 --runtime-set ignore_warnings_on_exit 1",
"@after-premium-cs"
],
"check-cs-errors": [
"@check-cs -n"
],
"check-staged-cs": [
"Yoast\\WP\\SEO\\Composer\\Actions::check_staged_cs"
],
"check-branch-cs": [
"Yoast\\WP\\SEO\\Composer\\Actions::check_branch_cs"
],
"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:~2.0.0 --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"
],
"remove-vendor-prefixed-uses": [
"@php ./vendor/atanamo/php-codeshift/bin/codeshift --mod=config/php-codeshift/remove-vendor-prefixing-codemod.php --src=artifact-composer/src",
"@php ./vendor/atanamo/php-codeshift/bin/codeshift --mod=config/php-codeshift/remove-vendor-prefixing-codemod.php --src=artifact-composer/migrations"
],
"compile-di": [
"rm -f ./src/generated/container.php",
"rm -f ./src/generated/container.php.meta",
"composer du",
"Yoast\\WP\\SEO\\Composer\\Actions::compile_dependency_injection_container"
],
"post-install-cmd": [
"Yoast\\WP\\SEO\\Composer\\Actions::prefix_dependencies"
]
}
}