-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
54 lines (54 loc) · 1.48 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": "shifrin/wp-skeleton",
"description": "Wordpress project skeleton with composer and git.",
"type": "project",
"authors": [
{
"name": "Mohammed Shifreen",
"email": "[email protected]"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"allow-plugins": {
"composer/installers": true,
"johnpbloch/wordpress-core-installer": true
}
},
"require": {
"php": ">=7.4",
"johnpbloch/wordpress": "~5.0",
"composer/installers": "~1.0",
"wpackagist-plugin/akismet": "*"
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org",
"only": [
"wpackagist-plugin/*",
"wpackagist-theme/*"
]
}
],
"extra": {
"installer-paths": {
"public/plugins/{$name}/": [
"type:wordpress-plugin"
],
"public/themes/{$name}/": [
"type:wordpress-theme"
]
},
"wordpress-install-dir": "public/wp"
},
"scripts": {
"post-install-cmd": [
"php -r \"copy(__DIR__ . '/config/config.sample.php', __DIR__ . '/config/config.php');\"",
"php -r \"copy(__DIR__ . '/public/wp/index.php', __DIR__ . '/public/index.php');\""
]
}
}