/
composer.json
54 lines (54 loc) · 1.55 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"name": "anttiviljami/wordpress-project",
"description": "WordPress project template for Heroku and local Docker",
"type": "project",
"license": "GPLv3",
"authors": [
{
"name": "Viljami Kuosmanen",
"email": "viljami@avoinsorsa.fi"
}
],
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "composer",
"url": "https://wp-languages.github.io"
}
],
"require": {
"php": ">=7.0",
"johnpbloch/wordpress": "*",
"composer/installers": "v1.0.12",
"vlucas/phpdotenv": "^2.0.1",
"oscarotero/env": "^1.0",
"wp-cli/wp-cli" : "*",
"koodimonni/composer-dropin-installer": "*",
"koodimonni-language/fi": "*",
"wpackagist-theme/twentyseventeen": "*"
},
"require-dev": {
"heroku/heroku-buildpack-php": "*"
},
"extra": {
"installer-paths": {
"htdocs/wp-content/plugins/{$name}/": ["type:wordpress-plugin"],
"htdocs/wp-content/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"htdocs/wp-content/themes/{$name}": ["type:wordpress-theme"]
},
"dropin-paths": {
"htdocs/wp-content/languages/": ["vendor:koodimonni-language"],
"htdocs/wp-content/languages/plugins/": ["vendor:koodimonni-plugin-language"],
"htdocs/wp-content/languages/themes/": ["vendor:koodimonni-theme-language"]
},
"wordpress-install-dir": "htdocs/wordpress"
},
"scripts": {
"post-install-cmd": [
"/bin/bash -c \"rm -r htdocs/wordpress/wp-content; ln -s ../wp-content htdocs/wordpress/wp-content\""
]
}
}