-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
99 lines (99 loc) · 3.12 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"name": "roots/bedrock",
"type": "project",
"license": "MIT",
"description": "WordPress boilerplate with modern development tools, easier configuration, and an improved folder structure",
"homepage": "https://roots.io/bedrock/",
"authors": [
{
"name": "Scott Walkinshaw",
"email": "[email protected]",
"homepage": "https://github.com/swalkinshaw"
},
{
"name": "Ben Word",
"email": "[email protected]",
"homepage": "https://github.com/retlehs"
}
],
"keywords": [
"bedrock", "composer", "roots", "wordpress", "wp", "wp-config"
],
"support": {
"issues": "https://github.com/roots/bedrock/issues",
"forum": "https://discourse.roots.io/category/bedrock"
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org",
"only": ["wpackagist-plugin/*", "wpackagist-theme/*"]
}
],
"require": {
"php": ">=8.0",
"composer/installers": "^2.0",
"vlucas/phpdotenv": "^5.3",
"oscarotero/env": "^2.1",
"roots/bedrock-autoloader": "^1.0",
"roots/wordpress": "^6.0",
"roots/wp-config": "1.0.0",
"roots/wp-password-bcrypt": "1.2.0",
"wpackagist-plugin/wordpress-seo": "^23.0",
"wpackagist-plugin/ewww-image-optimizer": "^7.0",
"wpackagist-plugin/wp-mail-smtp": "^4.0",
"wpackagist-plugin/wordfence": "^8.0",
"wpackagist-plugin/contact-form-7": "^6.0",
"wpackagist-plugin/regenerate-thumbnails": "^3.1",
"wpackagist-plugin/wps-hide-login": "^1.8",
"wpackagist-plugin/query-monitor": "^3.6",
"jjgrainger/posttypes": "^2.1",
"timber/timber": "^2.3"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.5.8",
"roave/security-advisories": "dev-master"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"allow-plugins": {
"composer/installers": true,
"roots/wordpress-core-installer": true
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"installer-paths": {
"web/app/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"web/app/plugins/{$name}/": ["type:wordpress-plugin"],
"web/app/themes/{$name}/": ["type:wordpress-theme"]
},
"wordpress-install-dir": "web/wp"
},
"scripts": {
"post-root-package-install": [
"php -r \"copy('.env.example', '.env');\"",
"composer run remove-old-wp-themes"
],
"post-update-cmd": [
"composer run remove-old-wp-themes",
"wp core update-db"
],
"test": [
"phpcs"
],
"remove-old-wp-themes": [
"rm -rf web/wp/wp-content/themes/{*,.*}"
]
},
"autoload": {
"psr-4": {
"WPBase\\": [
"web/app/themes/wp-base/classes",
"web/app/themes/wp-base-child/classes"
]
}
}
}