-
Notifications
You must be signed in to change notification settings - Fork 27
/
composer.json
122 lines (122 loc) · 4.08 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
{
"name": "wp-media/imagify-plugin",
"description": "Image optimization plugin for WordPress by WP Media.",
"keywords": [
"wordpress",
"images",
"optimization",
"performance"
],
"homepage": "https://imagify.io",
"license": "GPL-2.0",
"authors": [
{
"name": "WP Media",
"email": "[email protected]",
"homepage": "https://wp-media.me/"
}
],
"type": "wordpress-plugin",
"config": {
"classloader-suffix": "WPMediaImagifyWordPressPlugin",
"sort-packages": true,
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"dangoodman/composer-for-wordpress": true,
"mnsami/composer-custom-directory-installer": true,
"phpstan/extension-installer": true
}
},
"support": {
"issues": "https://github.com/wp-media/imagify-plugin/issues",
"source": "https://github.com/wp-media/imagify-plugin"
},
"require": {
"php": ">=7.0",
"composer/installers": "^1.0 || ^2.0",
"dangoodman/composer-for-wordpress": "^2.0",
"wp-media/plugin-family": "^1.0"
},
"require-dev": {
"php": "^7 || ^8",
"brain/monkey": "^2.0",
"coenjacobs/mozart": "^0.7",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"deliciousbrains/wp-background-processing": "~1.0",
"league/container": "^4.2",
"mnsami/composer-custom-directory-installer": "^2.0",
"php-stubs/wordpress-tests-stubs": "^6.5",
"phpcompatibility/phpcompatibility-wp": "^2.0",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan-mockery": "^1.1",
"phpstan/phpstan-phpunit": "^1.4",
"phpunit/phpunit": "^7.5 || ^8 || ^9",
"roave/security-advisories": "dev-master",
"szepeviktor/phpstan-wordpress": "^1.3",
"woocommerce/action-scheduler": "^3.4",
"wp-coding-standards/wpcs": "^2",
"wp-media/phpunit": "3.0"
},
"autoload": {
"psr-4": {
"Imagify\\": "classes/",
"Imagify\\Deprecated\\Traits\\": "inc/deprecated/Traits/",
"Imagify\\ThirdParty\\AS3CF\\": "inc/3rd-party/amazon-s3-and-cloudfront/classes/",
"Imagify\\ThirdParty\\EnableMediaReplace\\": "inc/3rd-party/enable-media-replace/classes/",
"Imagify\\ThirdParty\\FormidablePro\\": "inc/3rd-party/formidable-pro/classes/",
"Imagify\\ThirdParty\\NGG\\": "inc/3rd-party/nextgen-gallery/classes/",
"Imagify\\ThirdParty\\RegenerateThumbnails\\": "inc/3rd-party/regenerate-thumbnails/classes/",
"Imagify\\ThirdParty\\WPRocket\\": "inc/3rd-party/wp-rocket/classes/"
},
"classmap": [
"inc/classes",
"inc/deprecated/classes"
],
"exclude-from-classmap": [
"inc/classes/class-imagify-plugin.php",
"inc/classes/class-imagify-requirements-check.php"
]
},
"autoload-dev": {
"psr-4": { "Imagify\\Tests\\": "Tests/" }
},
"extra": {
"installer-paths": {
"./inc/Dependencies/ActionScheduler/": ["woocommerce/action-scheduler"]
},
"mozart": {
"dep_namespace": "Imagify\\Dependencies\\",
"dep_directory": "/classes/Dependencies/",
"classmap_directory": "/inc/classes/Dependencies/",
"classmap_prefix": "Imagify_",
"packages": [
"deliciousbrains/wp-background-processing",
"league/container",
"wp-media/plugin-family"
]
}
},
"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",
"install-codestandards": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run",
"phpcs": "phpcs --basepath=.",
"phpcs-changed": "./bin/phpcs-changed.sh",
"phpcs:fix": "phpcbf",
"run-stan": "vendor/bin/phpstan analyze --memory-limit=2G --no-progress",
"run-tests": [
"@test-unit",
"@test-integration"
],
"post-install-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || \"vendor/bin/mozart\" compose",
"composer dump-autoload"
],
"post-update-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || \"vendor/bin/mozart\" compose",
"composer dump-autoload"
],
"code-coverage": "\"vendor/bin/phpunit\" --testsuite unit --colors=always --configuration Tests/Unit/phpunit.xml.dist --coverage-clover=tests/report/coverage.clover"
}
}