-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
46 lines (46 loc) · 1.1 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
{
"name": "wodby/wordpress-composer",
"description": "Project template for WordPress projects with composer",
"type": "project",
"license": "GPL-2.0+",
"authors": [
{
"name": "",
"role": ""
}
],
"repositories":[
{
"type":"composer",
"url":"https://wpackagist.org"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true,
"allow-plugins": {
"composer/installers": true,
"cweagans/composer-patches": true,
"drupal-composer/preserve-paths": true,
"johnpbloch/wordpress-core-installer": true
}
},
"require": {
"composer/installers": "^1.2",
"drupal-composer/preserve-paths": "^0.1",
"johnpbloch/wordpress-core-installer": "^2.0",
"johnpbloch/wordpress-core": "~6.0"
},
"extra": {
"installer-paths": {
"web/wp-content/plugins/{$name}/": ["type:wordpress-plugin"],
"web/wp-content/themes/{$name}/": ["type:wordpress-theme"]
},
"preserve-paths": [
"web/wp-config.php",
"web/wp-content/uploads"
],
"wordpress-install-dir": "web"
}
}