-
Notifications
You must be signed in to change notification settings - Fork 17
/
composer.json
47 lines (47 loc) · 1.26 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
{
"name" : "johnpbloch/wordpress-project",
"description" : "An out-of-the-box composer-powered WordPress package inspired by Mark Jaquith's WordPress Skeleton",
"type" : "project",
"license" : "MIT",
"minimum-stability": "dev",
"prefer-stable": true,
"repositories": [
{
"type": "composer",
"url" : "https://wpackagist.org"
}
],
"require" : {
"php": "^7.4 || ^8.0",
"illuminate/support": "^8.83",
"johnpbloch/wordpress-core": "@stable",
"johnpbloch/wordpress-core-installer": "^2.0",
"johnpbloch/wp-cli-phar": "^2.6",
"laravel/helpers": "^1.5",
"vlucas/phpdotenv": "^5.4"
},
"autoload": {
"psr-4": {
"JohnPBloch\\WordPressProject\\Scripts\\": "./scripts"
}
},
"extra" : {
"wordpress-install-dir": "public/wp",
"installer-paths" : {
"public/content/plugins/{$name}" : ["type:wordpress-plugin"],
"public/content/mu-plugins/{$name}": ["type:wordpress-muplugin"],
"public/content/themes/{$name}" : ["type:wordpress-theme"]
}
},
"config": {
"sort-packages": true
},
"scripts": {
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"JohnPBloch\\WordPressProject\\Scripts\\GenerateKeysAndSalts::run"
]
}
}