forked from dzuelke/wordpress-12factor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
47 lines (47 loc) · 1.93 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
{
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"extra": {
"wordpress-install-dir": "wordpress",
"installer-paths": {
"wordpress/wp-content/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"wordpress/wp-content/plugins/{$name}/": ["type:wordpress-plugin"],
"wordpress/wp-content/themes/{$name}/": ["type:wordpress-theme"]
}
},
"require": {
"ext-gd": "*",
"johnpbloch/wordpress": "^4.5",
"wpackagist-plugin/amazon-web-services": "^0.3.4",
"wpackagist-plugin/amazon-s3-and-cloudfront": "^0.9.11",
"wpackagist-plugin/sendgrid-email-delivery-simplified": "^1.7",
"wp-cli/wp-cli": "^0.23.1",
"wpackagist-theme/twentysixteen": "^1.2",
"wpackagist-plugin/wordpress-importer": "^0.6.2"
},
"scripts": {
"wordpress-setup-core-install-prompt": "wp core install --prompt",
"wordpress-setup-core-install": "wp core install --skip-email",
"wordpress-setup-clear-home": "wp option delete home || true",
"wordpress-setup-configure-s3": "echo '{\"domain\":\"path\",\"copy-to-s3\":\"1\",\"serve-from-s3\":\"1\",\"ssl\":\"request\"}' | wp option add tantan_wordpress_s3 --format=json",
"wordpress-setup-enable-plugins": "wp plugin activate amazon-web-services amazon-s3-and-cloudfront sendgrid-email-delivery-simplified",
"wordpress-setup-permalink-structure": "wp rewrite structure '/%year%/%monthnum%/%day%/%postname%/' || true",
"wordpress-setup": [
"@wordpress-setup-core-install-prompt",
"@wordpress-setup-finalize"
],
"wordpress-setup-finalize": [
"@wordpress-setup-clear-home",
"@wordpress-setup-configure-s3",
"@wordpress-setup-enable-plugins",
"@wordpress-setup-permalink-structure"
],
"wordpress-setup-welcome-post": [
"echo 'It works! Please see <a href=\"https://github.com/dzuelke/wordpress-12factor\">wordpress-12factor on GitHub</a> for info and post-install instructions.' | wp post update 1 - --post_title=\"Welcome to WordPress on Heroku\""
]
}
}