-
Notifications
You must be signed in to change notification settings - Fork 6
/
composer.json
58 lines (58 loc) · 1.95 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
{
"name": "wp-media/rocket-lazyload-common",
"description": "Common Code between WP Rocket and Lazyload by WP Rocket",
"license": "GPL-3.0-or-later",
"support": {
"issues": "https://github.com/wp-media/rocket-lazyload-common/issues",
"source": "https://github.com/wp-media/rocket-lazyload-common"
},
"authors": [
{
"name": "WP Media",
"email": "[email protected]"
}
],
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"minimum-stability": "stable",
"autoload": {
"psr-4": {
"RocketLazyload\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"RocketLazyload\\Tests\\": "Tests/"
}
},
"require": {
"php": ">=7.0",
"wp-media/apply-filters-typed": "^1.0"
},
"require-dev": {
"php": ">=7.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"phpcompatibility/phpcompatibility-wp": "^2.0",
"phpstan/extension-installer": "^1.3",
"phpunit/phpunit": "^7.5 || ^8 || ^9",
"szepeviktor/phpstan-wordpress": "^1.3",
"wp-coding-standards/wpcs": "^2.0",
"wp-media/phpunit": "^3.0"
},
"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",
"phpcs": "phpcs --basepath=.",
"run-stan": "vendor/bin/phpstan analyze --memory-limit=2G --no-progress",
"run-tests": [
"@test-unit",
"@test-integration"
],
"code-coverage": "\"vendor/bin/phpunit\" --testsuite unit --colors=always --configuration Tests/Unit/phpunit.xml.dist --coverage-clover=tests/report/coverage.clover"
}
}