-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
44 lines (44 loc) · 1.14 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
{
"name": "xwp/site-monorepo-example",
"type": "project",
"license": "MIT",
"repositories": [
{
"type": "path",
"url": "wp-content/themes/sample-theme"
},
{
"type": "composer",
"url": "https://wpackagist.org",
"only": [
"wpackagist-plugin/*",
"wpackagist-theme/*"
]
}
],
"extra": {
"wordpress-install-dir": "wp",
"installer-paths": {
"wp-content/themes/{$name}": ["type:wordpress-theme"],
"wp-content/plugins/{$name}": ["type:wordpress-plugin"]
}
},
"config": {
"allow-plugins": {
"roots/wordpress-core-installer": true,
"composer/installers": true
}
},
"require": {
"xwp/sample-theme": "^1.0",
"roots/wordpress": "^6.0",
"wpackagist-theme/twentytwentytwo": "^1.2"
},
"require-dev": {
"wp-cli/wp-cli-bundle": "^2.6",
"xwp/wait-for": "^0.0.1"
},
"scripts": {
"test-theme": "composer test --working-dir=wp-content/themes/sample-theme"
}
}