-
Notifications
You must be signed in to change notification settings - Fork 21
/
composer.example.json
executable file
·39 lines (39 loc) · 1.11 KB
/
composer.example.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
{
"name": "troychaplin79/wp-multitenant",
"description": "Composer setup for a WordPress Multi Tenant environment",
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.2",
"composer/installers": "1.*",
"johnpbloch/wordpress": "*",
"vlucas/phpdotenv": "3.4.0",
"wpackagist-theme/twentytwentyfour": "@stable",
"wpackagist-plugin/debug-bar": "*",
"wpackagist-plugin/pj-page-cache-red": "*",
"wpackagist-plugin/query-monitor": "*",
"wpackagist-plugin/redis-cache": "*"
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"extra": {
"wordpress-install-dir": "app/stable",
"installer-paths": {
"assets/mu-plugins/{$name}/": [
"type:wordpress-muplugin",
"wpackagist-plugin/redis-cache",
"wpackagist-plugin/pj-page-cache-red"
],
"assets/plugins/{$name}/": ["type:wordpress-plugin"],
"assets/themes/{$name}/": ["type:wordpress-theme"]
}
},
"scripts": {
"post-install-cmd": "bash scripts/composer.sh",
"post-update-cmd": "bash scripts/composer.sh"
}
}