-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathcomposer.json
68 lines (68 loc) · 2.45 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{
"name": "anttiviljami/wordpress-project",
"description": "WordPress project template for Heroku and local Docker",
"type": "project",
"license": "GPLv3",
"authors": [
{
"name": "Viljami Kuosmanen",
"email": "[email protected]"
}
],
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "composer",
"url": "https://wp-languages.github.io"
}
],
"require": {
"php": ">=7.2",
"ext-gd": "*",
"ext-redis": "*",
"ext-mbstring": "*",
"ext-soap": "*",
"johnpbloch/wordpress": "*",
"composer/installers": "v1.0.12",
"vlucas/phpdotenv": "^2.0.1",
"oscarotero/env": "^1.0",
"wp-cli/wp-cli-bundle" : "*",
"wp-cli/profile-command": "^0.3.0",
"koodimonni/composer-dropin-installer": "*",
"koodimonni-language/fi": "*",
"wpackagist-theme/twentyseventeen": "*",
"humanmade/s3-uploads": "*"
},
"require-dev": {
"heroku/heroku-buildpack-php": "*",
"wp-coding-standards/wpcs": "^1.0.0",
"dealerdirect/phpcodesniffer-composer-installer": "*"
},
"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": {
"pre-install-cmd": [
"test -f /app/.heroku/mysql-client-core.deb || wget http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/mysql-client-core-5.7_5.7.21-1ubuntu1_amd64.deb -qO /app/.heroku/mysql-client-core.deb",
"test -f /app/.heroku/mysql-client.deb || wget http://security.ubuntu.com/ubuntu/pool/main/m/mysql-5.7/mysql-client-5.7_5.7.21-1ubuntu1_amd64.deb -qO /app/.heroku/mysql-client.deb",
"dpkg -x /app/.heroku/mysql-client.deb /app/.heroku/mysql; dpkg -x /app/.heroku/mysql-client-core.deb /app/.heroku/mysql",
"chmod +x /app/.heroku/mysql/usr/bin/* && mv /app/.heroku/mysql/usr/bin/* /app/.heroku/php/bin/"
],
"post-install-cmd": [
"/bin/bash -c \"rm -r htdocs/wordpress/wp-content; ln -s ../wp-content htdocs/wordpress/wp-content\""
]
}
}