-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
97 lines (96 loc) · 3.21 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
{
"name": "wp-media/rocketcdn-plugin",
"description": "RocketCDN WordPress plugin",
"keywords": [
"wordpress",
"cdn"
],
"homepage": "https://rocketcdn.me",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "WP Media",
"email": "[email protected]",
"homepage": "https://wp-media.me"
}
],
"type": "wordpress-plugin",
"config": {
"sort-packages": true,
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"support": {
"issues": "https://github.com/wp-media/rocketcdn-plugin/issues",
"source": "https://github.com/wp-media/rocketcdn-plugin"
},
"require": {
"php": ">=7.0",
"composer/installers": "~1.0"
},
"require-dev": {
"php": "^7 || ^8",
"brain/monkey": "^2.0",
"coenjacobs/mozart": "^0.7",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"league/container": "^3.3",
"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/php-file-iterator": "2.0.3",
"phpunit/phpunit": "^7.5 || ^8 || ^9",
"roave/security-advisories": "dev-master",
"szepeviktor/phpstan-wordpress": "^1.3",
"wp-coding-standards/wpcs": "^2",
"wp-launchpad/core": "^0.2.6",
"wp-launchpad/framework-options": "^0.1.2",
"wp-media/phpunit": "^3.0"
},
"autoload": {
"psr-4": {
"RocketCDN\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"RocketCDN\\Tests\\": "tests/"
}
},
"extra": {
"mozart": {
"dep_namespace": "RocketCDN\\Dependencies\\",
"dep_directory": "/src/Dependencies/",
"classmap_directory": "/src/classes/dependencies/",
"classmap_prefix": "RocketCDN_",
"packages": [
"wp-launchpad/core",
"wp-launchpad/framework-options"
]
}
},
"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",
"run-tests": [
"@test-unit",
"@test-integration"
],
"run-stan":"vendor/bin/phpstan analyze --memory-limit=2G --no-progress",
"phpcs": "phpcs --basepath=.",
"phpcs:fix": "phpcbf",
"post-install-cmd": [
"\"vendor/bin/mozart\" compose",
"composer dump-autoload"
],
"post-update-cmd": [
"\"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"
}
}