-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
80 lines (80 loc) · 1.64 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
{
"name": "narkniro/wordpress-site-template",
"type": "project",
"description": "Wordpress site template",
"minimum-stability": "dev",
"prefer-stable": true,
"authors": [
{
"name": "Mark Houben",
"email": "[email protected]"
}
],
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "path",
"url": "packages/*"
},
{
"type": "path",
"url": "theme/*"
}
],
"extra": {
"helhum/dotenv-connector": {
"env-file": ".env"
},
"wordpress-install-dir": "public",
"installer-paths": {
"public/wp-content/mu-plugins/{$name}": [
"type:wordpress-muplugin"
],
"public/wp-content/plugins/{$name}": [
"type:wordpress-plugin"
],
"public/wp-content/themes/{$name}": [
"type:wordpress-theme"
]
}
},
"config": {
"sort-packages": true,
"allow-plugins": {
"johnpbloch/wordpress-core-installer": true,
"composer/installers": true,
"helhum/dotenv-connector": true
}
},
"require": {
"helhum/dotenv-connector": "^3.0",
"johnpbloch/wordpress": "^5.9",
"wp-cli/wp-cli": "^2.6",
"wpackagist-plugin/wordpress-importer": "^0.7.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"wp-coding-standards/wpcs": "^2.3"
},
"scripts": {
"check-cs": [
"@php ./vendor/bin/phpcs --standard=./.build/.phpcs.xml public/wp-load.php --colors"
],
"fix-cs": [
"@php ./vendor/bin/phpcbf --standard=./.build/.phpcs.xml public/wp-load.php --colors"
],
"update-db": [
"wp core update-db --path=./public"
],
"update-language": [
"wp core language update --path=./public"
],
"post-update-cmd": [
"@update-db",
"@update-language"
]
}
}