forked from boxuk/wp-project-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
132 lines (132 loc) · 4.15 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
{
"name": "boxuk/wp-project-skeleton",
"description": "A skeleton WordPress project to be used as a base for new WordPress projects.",
"type": "project",
"license": "GPL-2.0-or-later",
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "git",
"url": "https://github.com/automattic/wp-memcached"
},
{
"options": {
"symlink": false
},
"type": "path",
"url": "./patched-plugins/*"
},
{
"options": {
"symlink": false
},
"type": "path",
"url": "./premium-plugins/*"
}
],
"config": {
"vendor-dir": "wp-content/vendor",
"bin-dir": "bin",
"classmap-authoritative": true,
"sort-packages": true,
"preferred-install": "dist",
"platform": {
"ext-mbstring": "1",
"ext-intl": "1"
},
"allow-plugins": {
"composer/installers": true,
"roots/wordpress-core-installer": true,
"boxuk/wp-muplugin-loader": true,
"inpsyde/wp-translation-downloader": true,
"oomphinc/composer-installers-extender": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"require": {
"automattic/wp-memcached": "^4.0",
"boxuk/wp-muplugin-loader": "^2.0",
"cache/memcache-adapter": "^1.2",
"inpsyde/wp-translation-downloader": "^2.5",
"jamesrwilliams/flagpole": "@beta",
"oomphinc/composer-installers-extender": "^2",
"roots/wordpress-core-installer": "^1.100",
"roots/wordpress-full": "^6.4",
"symfony/config": "^6.0 || ^7.0",
"symfony/dependency-injection": "^6.0 || ^7.0",
"symfony/dotenv": "^6.0 || ^7.0",
"symfony/yaml": "^6.0 || ^7.0",
"wp-cli/scaffold-command": "^2.0",
"wp-cli/wp-cli": "^2.9",
"wpackagist-plugin/query-monitor": "^3.5"
},
"require-dev": {
"10up/wp_mock": "^1.0",
"automattic/vipwpcs": "^3.0",
"phpcompatibility/phpcompatibility-wp": "*",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9",
"szepeviktor/phpstan-wordpress": "^1.3",
"wp-phpunit/wp-phpunit": "^6.6",
"yoast/phpunit-polyfills": "^2"
},
"extra": {
"wordpress-install-dir": "wp",
"installer-paths": {
"wp-content/mu-plugins/{$name}/": [
"type:wordpress-muplugin"
],
"wp-content/plugins/{$name}/": [
"type:wordpress-plugin"
],
"wp-content/themes/{$name}/": [
"type:wordpress-theme"
]
},
"force-mu": [
"boxuk/boxuk-base-wp-plugin",
"jamesrwilliams/flagpole"
],
"mu-require-file": "zzz-mu-require.php",
"wp-translation-downloader": {
"auto-run": false,
"languages": [
"en_GB"
],
"directory": "wp-content/languages"
}
},
"replace": {
"boxuk/boxuk-base-wp-plugin": "0.4.0"
},
"autoload-dev": {
"psr-4": {
"BoxUk\\Mu\\Plugins\\Sample\\Tests\\": "wp-content/mu-plugins/sample/tests",
"BoxUk\\Plugins\\Base\\Tests\\": "wp-content/mu-plugins/boxuk-base-wp-plugin/tests"
}
},
"autoload": {
"psr-4": {
"BoxUk\\Mu\\Plugins\\Sample\\": "wp-content/mu-plugins/sample/src",
"BoxUk\\Plugins\\Base\\": "wp-content/mu-plugins/boxuk-base-wp-plugin/src"
}
},
"scripts": {
"phpcs": "phpcs",
"phpcbf": "phpcbf",
"phpstan": "phpstan analyse --memory-limit=1G",
"phpunit": "phpunit --coverage-html ./coverage/phpunit",
"phpintegration": "phpunit -c phpintegration.xml.dist --coverage-html ./coverage/phpintegration",
"test": [
"@phpunit",
"@phpintegration",
"@phpstan",
"@phpcs"
]
},
"minimum-stability": "dev",
"prefer-stable": true
}