-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
173 lines (173 loc) · 6.23 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
{
"name": "ministryofjustice/intranet",
"type": "project",
"description": "MoJ Intranet, used by Ministry of Justice and agencies",
"version": "3.0",
"config": {
"preferred-install": "dist",
"allow-plugins": {
"johnpbloch/wordpress-core-installer": true,
"koodimonni/composer-dropin-installer": true,
"composer/installers": true,
"php-http/discovery": true,
"roots/wordpress-core-installer": true
}
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "composer",
"url": "https://composer.wp.dsd.io"
},
{
"type": "composer",
"url": "https://composer.deliciousbrains.com"
},
{
"type": "composer",
"url": "https://wp-languages.github.io"
},
{
"type": "vcs",
"url": "https://github.com/ministryofjustice/like-button-for-wordpress"
},
{
"type": "vcs",
"url": "https://github.com/ministryofjustice/notify-for-wordpress"
},
{
"type": "vcs",
"url": "https://github.com/ministryofjustice/php-markdown-extra"
},
{
"type":"composer",
"url":"https://connect.advancedcustomfields.com"
}
],
"require": {
"php": ">=8.2",
"composer/installers": "2.* || 1.*",
"vlucas/phpdotenv": "^5.5",
"oscarotero/env": "^2.1",
"roots/bedrock-autoloader": "^1.0",
"roots/bedrock-disallow-indexing": "^2.0",
"roots/wordpress": "^6.4",
"koodimonni-language/core-en_gb": "^6.4",
"roots/wp-password-bcrypt": "^1.1.0",
"roots/wp-config": "^1.0",
"wpackagist-plugin/classic-editor": "^1.6.0",
"wpackagist-plugin/totalpoll-lite": "^4.10.0",
"wpackagist-plugin/cms-tree-page-view": "^1.6.0",
"wpackagist-plugin/co-authors-plus": "^3.5.0",
"wpackagist-plugin/ewww-image-optimizer": "^7.4.0",
"wpackagist-plugin/wp-document-revisions": "^3.5.0",
"wpackagist-plugin/simple-301-redirects": "2.0.9",
"wpengine/advanced-custom-fields-pro": "^6.3.5",
"ministryofjustice/like-button-for-wordpress": "dev-main",
"ministryofjustice/notify-for-wordpress": "dev-main",
"ministryofjustice/php-markdown-extra": "dev-main",
"ministryofjustice/wp-moj-components": "^3.5.0",
"ministryofjustice/wp-moj-elasticsearch": "^2.3.0",
"wpackagist-plugin/elasticpress": "^5.0.0",
"alphagov/notifications-php-client": "^6.0",
"aws/aws-sdk-php": "^3.133",
"wpackagist-plugin/query-monitor": "^3.15",
"wpackagist-plugin/debug-bar": "^1.1",
"wpackagist-plugin/debug-bar-elasticpress": "^3.1",
"deliciousbrains-plugin/wp-offload-media": "^3.2",
"stayallive/wp-sentry": "^7.11",
"ext-mysqli": "*",
"ext-openssl": "*",
"ext-posix": "*",
"ext-zlib": "*",
"league/oauth2-client": "^2.7",
"firebase/php-jwt": "^6.10",
"guzzlehttp/guzzle": "^7.9",
"php-http/guzzle7-adapter": "^1.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.0.2"
},
"extra": {
"installer-paths": {
"public/app/mu-plugins/{$name}/": [
"type:wordpress-muplugin",
"deliciousbrains-plugin/wp-offload-media",
"ministryofjustice/wp-moj-elasticsearch",
"ministryofjustice/php-markdown-extra",
"wpackagist-plugin/wp-document-revisions",
"wpackagist-plugin/elasticpress",
"wpengine/advanced-custom-fields-pro"
],
"public/app/plugins/{$name}/": [
"type:wordpress-plugin"
],
"public/app/themes/{$name}/": [
"type:wordpress-theme"
]
},
"dropin-paths": {
"public/app/languages/": [
"vendor:koodimonni-language"
],
"public/app/languages/plugins/": [
"vendor:koodimonni-plugin-language"
],
"public/app/languages/themes/": [
"vendor:koodimonni-theme-language"
]
},
"wordpress-install-dir": "public/wp",
"meta-comments": {
"description": [
"As comments are not allowed in composer.json, use this section for comments.",
"After adding comments here, run a benign composer command like ",
"`composer update paragonie/random_compat` to update composer.lock's hash."
],
"replace.paragonie/random_compat": [
"The `paragonie/random_compat` package is a dependency of `league/oauth2-client`.",
"As our php version is > 7 we do not need this package.",
"The package authors have an empty version of the package for this case: 9.99.99",
"Defining it inside `replace`, will prevent it from being installed.",
"@see: https://github.com/paragonie/random_compat?tab=readme-ov-file#version-99999"
]
}
},
"scripts": {
"post-install-cmd": [
"bin/composer-post-install.sh"
],
"post-update-cmd": [
"bin/composer-post-install.sh"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"test": [
"vendor/bin/phpcs -d memory_limit=256M --ignore=public/app/object-cache.php"
],
"test-fix": [
"vendor/bin/phpcbf -d memory_limit=256M --ignore=public/app/object-cache.php"
]
},
"replace": {
"paragonie/random_compat": "9.99.99"
},
"authors": [
{
"name": "Ministry of Justice",
"email": "[email protected]"
},
{
"name": "Damien Wilson",
"homepage": "https://github.com/wilson1000"
},
{
"name": "Davey Brown",
"homepage": "https://github.com/EarthlingDavey"
}
]
}