-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.windows.json
39 lines (39 loc) · 1.08 KB
/
composer.windows.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
{
"require": {
"johnpbloch/wordpress": "*",
"wpackagist-plugin/batcache": "*",
"wpackagist-plugin/memcached": "*",
"wpackagist-plugin/google-app-engine":"*"
},
"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": [
"mkdir public.built NUL",
"xcopy /s/Y wordpress public.built\/",
"rmdir /s/q wordpress\/",
"xcopy /s/Y public public.built\/",
"move public.built\wp-content\plugins\batcache\advanced-cache.php public.built\wp-content\ NUL"
],
"post-update-cmd": [
"mkdir public.built NUL",
"xcopy /s/Y wordpress public.built\/",
"rmdir /s/q wordpress\/",
"xcopy /s/Y public public.built\/"
]
}
}