-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
35 lines (35 loc) · 1.28 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
{
"name": "trst/turnpress",
"description": "A wordpress environment tailored for using completely headless; meant to be used in conjunction with the trst/turnpress-to-eleven, but is flexible enough for whatever front-end you choose.",
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
}
],
"require": {
"johnpbloch/wordpress": "^5.4",
"composer/installers": "^1.9",
"wpackagist-plugin/wp-rest-api-v2-menus": "^0.7.7",
"wpackagist-plugin/acf-to-rest-api": "^3.2",
"wpackagist-plugin/autodescription": "^4.0",
"wpackagist-plugin/advanced-custom-fields": "^5.8",
"wp-graphql/wp-graphql": "^0.12.1"
},
"extra": {
"installer-paths": {
"wordpress/wp-content/plugins/{$name}/": ["type:wordpress-plugin"],
"wordpress/wp-content/themes/{$name}/": ["type:wordpress-theme"]
}
},
"scripts": {
"post-install-cmd": [
"echo 'Removing default plugins...'",
"rm -rf wordpress/wp-content/plugins/akismet",
"rm -rf wordpress/wp-content/plugins/hello.php",
"echo 'Removing default themes...'",
"rm -rf wordpress/wp-content/themes/twenty*",
"echo 'Done!'"
]
}
}