-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
112 lines (112 loc) · 3.2 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
{
"name": "servebolt/servebolt-wp-optimize-plugin",
"type": "wordpress-plugin",
"license": "GPLv3 or later",
"description": "A plugin that implements Servebolt Security & Performance best practises for WordPress.",
"minimum-stability": "dev",
"authors": [
{
"name": "Erlend Eide",
"email": "[email protected]"
},
{
"name": "Thomas Audunhus",
"email": "[email protected]"
},
{
"name": "Andrew Killen",
"email": "[email protected]"
}
],
"require": {
"php": "^7.3|^8.0",
"composer/installers": "^1.0",
"servebolt/sdk": "1.2.10"
},
"require-dev": {
"squizlabs/php_codesniffer": "*",
"wp-coding-standards/wpcs": "*",
"phpcompatibility/php-compatibility": "*",
"phpunit/phpunit": "7.5.2",
"phan/phan": "^4.0",
"overtrue/phplint": "^2.0",
"symfony/var-dumper": "5.4.x-dev",
"symfony/dotenv": "5.4.x-dev",
"yoast/phpunit-polyfills": "^1.0"
},
"keywords": [
"blocks",
"editor",
"gutenberg",
"plugin",
"wordpress"
],
"autoload": {
"files": [
"src/Servebolt/Helpers/Helpers.php",
"src/Servebolt/CachePurge/ThirdPartyFunctions.php",
"vendor/jakeasmith/http_build_url/src/http_build_url.php",
"vendor/ralouphie/getallheaders/src/getallheaders.php"
],
"psr-4": {
"Servebolt\\Optimizer\\": "src/Servebolt",
"Servebolt\\Optimizer\\Dependencies\\": "src/Dependencies"
},
"exclude-from-classmap": ["src/Servebolt/Utils/DatabaseMigration/Migrations/"]
},
"config": {
"platform": {
"php": "7.4"
},
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"phpunit": [
"./vendor/phpunit/phpunit/phpunit -c phpunit.xml"
],
"phpunit-mu": [
"./vendor/phpunit/phpunit/phpunit -c phpunit-mu.xml"
],
"local-build": "ci/local-build.sh",
"install-wp-test": ["ci/install-wp-tests.sh"],
"update-wp-test": ["ci/update-wp-tests.sh"],
"test": ["composer test-phpcs","composer test-phplint","composer test-phan"],
"test-phpcs": "ci/phpcs.sh",
"test-phplint": "ci/phplint.sh",
"test-phan": "ci/phan.sh",
"post-install-cmd": [
"[ -f vendor/bin/phpcs ] && \"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs || true",
"@php mozart.phar compose",
"composer dump-autoload --optimize"
],
"post-update-cmd": [
"[ -f vendor/bin/phpcs ] && \"vendor/bin/phpcs\" --config-set installed_paths vendor/wp-coding-standards/wpcs || true",
"@php mozart.phar compose",
"composer dump-autoload --optimize"
]
},
"extra": {
"installer-name": "servebolt-wp-optimize-plugin",
"hooks": {
"pre-push": [
"test",
"phpunit"
],
"post-merge": "composer update"
},
"mozart": {
"dep_namespace": "Servebolt\\Optimizer\\Dependencies\\",
"dep_directory": "/src/Dependencies/",
"classmap_directory": "/src/Dependencies/classes",
"classmap_prefix": "SB_Optimizer_",
"packages": [
"guzzlehttp/guzzle",
"servebolt/sdk"
],
"delete_vendor_directories": true
}
}
}