-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
36 lines (36 loc) · 1.02 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
{
"require": {
"johnpbloch/wordpress": "*",
"wpackagist-plugin/batcache": "*",
"wpackagist-plugin/memcached": "*",
"wpackagist-plugin/google-app-engine":"*",
"wpackagist-plugin/redix-framework":"*"
},
"require-dev": {
"wp-cli/wp-cli": "^0.24.1"
},
"repositories": [
{
"type":"composer",
"url":"https://wpackagist.org"
}
],
"extra": {
"installer-paths": {
"public.built/wp-content/mu-plugins/{$name}/": ["type:wordpress-muplugins"],
"public.built/wp-content/plugins/{$name}/": ["type:wordpress-plugin"],
"public.built/wp-content/themes/{$name}/": ["type:wordpress-theme"]
}
},
"scripts": {
"post-install-cmd": [
"cp -R wordpress/* public.built/ && rm -fr wordpress",
"cp -R public/* public.built/",
"mv public.built/wp-content/plugins/batcache/advanced-cache.php public.built/wp-content/"
],
"post-update-cmd": [
"cp -R wordpress/* public.built/ && rm -fr wordpress",
"cp -R public/* public.built/"
]
}
}