-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathcomposer.json
36 lines (36 loc) · 1.07 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
{
"name": "zomnium/flynn-wp",
"description": "A template for installing and running WordPress on Flynn",
"require": {
"php": "~5.6.0",
"WordPress/WordPress": "*"
},
"repositories": [
{
"type": "package",
"package": {
"name": "WordPress/WordPress",
"version": "4.7.3",
"dist": {
"type": "zip",
"url": "https://github.com/WordPress/WordPress/archive/4.7.3.zip"
}
}
},
{
"type":"composer",
"url":"https://wpackagist.org"
}
],
"scripts": {
"post-install-cmd": [
"rm -rf tmp/public.building tmp/public.old",
"mkdir -p tmp/public.building",
"cp -R vendor/WordPress/WordPress/* tmp/public.building",
"cp -R public/* tmp/public.building",
"touch public.built",
"mv public.built tmp/public.old && mv tmp/public.building public.built",
"rm -rf tmp/public.old"
]
}
}