forked from wp-media/wp-rocket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
103 lines (103 loc) · 3.42 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
{
"name": "wp-media/wp-rocket",
"description": "Performance optimization plugin for WordPress",
"keywords": [
"wordpress",
"cache",
"minification",
"lazyload"
],
"homepage": "https://wp-rocket.me",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "WP Media",
"email": "[email protected]",
"homepage": "https://wp-media.me"
}
],
"type": "wordpress-plugin",
"config": {
"sort-packages": true,
"preferred-install": {
"wp-media/phpunit": "source"
}
},
"support": {
"issues": "https://github.com/wp-media/wp-rocket/issues",
"source": "https://github.com/wp-media/wp-rocket"
},
"require": {
"php": ">=5.6.0",
"wp-media/background-processing": "^1.3",
"composer/installers": "~1.0",
"league/container": "^2.4",
"matthiasmullie/minify": "1.3.*",
"monolog/monolog": "^1.0",
"wp-media/rocket-lazyload-common": "^2"
},
"require-dev": {
"php": "^5.6 || ^7",
"brain/monkey": "^2.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.5.0",
"mikey179/vfsstream": "^1.6",
"phpcompatibility/phpcompatibility-wp": "^2.0",
"phpstan/phpstan": "^0.12.3",
"phpunit/phpunit": "^5.7 || ^7",
"roave/security-advisories": "dev-master",
"szepeviktor/phpstan-wordpress": "^0.5.0",
"woocommerce/woocommerce": "^3.8",
"wp-coding-standards/wpcs": "^2",
"wp-media/phpunit": "^1.0"
},
"autoload": {
"classmap": [
"inc/classes",
"inc/vendors/classes"
],
"exclude-from-classmap": [
"inc/vendors/classes/class-rocket-mobile-detect.php",
"inc/classes/class-wp-rocket-requirements-check.php"
],
"psr-4": {
"WP_Rocket\\": "inc/",
"WPMedia\\Cloudflare\\": "inc/Addon/Cloudflare/"
}
},
"autoload-dev": {
"psr-4": {
"WP_Rocket\\Tests\\Fixtures\\": "tests/Fixtures",
"WP_Rocket\\Tests\\Unit\\": "tests/Unit",
"WP_Rocket\\Tests\\Integration\\": "tests/Integration"
}
},
"extra": {
"installer-paths": {
"vendor/{$vendor}/{$name}/": ["type:wordpress-plugin"]
}
},
"replace": {
"wp-media/cloudflare": "self.version"
},
"scripts": {
"test-unit": "\"vendor/bin/phpunit\" --testsuite unit --colors=always --configuration tests/Unit/phpunit.xml.dist",
"test-integration": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --exclude-group AdminOnly,WithWoo,DoCloudflare",
"test-integration-adminonly": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group AdminOnly",
"test-integration-docloudflare": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group DoCloudflare",
"test-integration-withwoo": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group WithWoo",
"test-integration-multisite": "\"vendor/bin/phpunit\" --testsuite integration --colors=always --configuration tests/Integration/phpunit.xml.dist --group Multisite",
"run-tests": [
"@test-unit",
"@test-integration",
"@test-integration-adminonly",
"@test-integration-docloudflare",
"@test-integration-withwoo",
"@test-integration-multisite"
],
"run-stan":"vendor/bin/phpstan analyze --memory-limit=2G --no-progress",
"install-codestandards": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run",
"phpcs": "phpcs --basepath=.",
"phpcs-changed": "./bin/phpcs-changed.sh",
"phpcs:fix": "phpcbf"
}
}