-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
executable file
·32 lines (31 loc) · 1.13 KB
/
composer.json
File metadata and controls
executable file
·32 lines (31 loc) · 1.13 KB
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
{
"repositories": [
{
"type": "composer",
"url": "http://wpackagist.org"
}
],
"require": {
"php": ">=5.5.0",
"fancyguy/webroot-installer": "1.0.0",
"getkirby/cli": "^1.4",
"mnsami/composer-custom-directory-installer": "1.1.*",
"fvsch/kirby-twig": "2.0.2"
},
"extra": {
"installer-paths": {
"./kirby/site/plugins/twig": ["fvsch/kirby-twig"]
}
},
"config": {
"secure-http": false
},
"scripts": {
"post-install-cmd": [
"if test -d ./kirby/kirby; then echo 'Kirby: Core already exists. Skipping…'; else (cd kirby && ../vendor/getkirby/cli/kirby install:core) ; fi ",
"if test -f ./kirby/index.php; then echo 'Kirby: index.php already exists. Skipping…'; else (cd kirby && ../vendor/getkirby/cli/kirby install:index.php); fi ",
"if test -f ./kirby/.htaccess; then echo 'Kirby: .htaccess already exists. Skipping…'; else (cd kirby && ../vendor/getkirby/cli/kirby install:htaccess); fi ",
"if test -d ./kirby/panel; then echo 'Kirby: panel already exists. Skipping…'; else (cd kirby && ../vendor/getkirby/cli/kirby install:panel); fi "
]
}
}