-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcomposer.json
More file actions
100 lines (100 loc) · 2.74 KB
/
Copy pathcomposer.json
File metadata and controls
100 lines (100 loc) · 2.74 KB
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
{
"name": "xwp/vip-site-template",
"description": "VIP Go site environment",
"type": "project",
"license": "proprietary",
"prefer-stable": true,
"minimum-stability": "dev",
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
},
{
"type": "path",
"url": "themes/example-theme",
"options": {
"reference": "none"
}
}
],
"config": {
"autoloader-suffix": "XWP_VIP_Site_Template",
"sort-packages": true,
"process-timeout": 600,
"preferred-install": "dist",
"vendor-dir": "plugins/vendor",
"platform": {
"php": "8.3"
},
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"roots/wordpress-core-installer": true,
"cweagans/composer-patches": true
}
},
"require": {
"php": ">=8.3",
"automattic/wpcom-legacy-redirector": "dev-develop",
"composer/installers": "^1|^2.2",
"cweagans/composer-patches": "^1.7",
"xwp/example-theme": "@dev",
"wpackagist-plugin/action-scheduler": "^3.9",
"wpackagist-plugin/safe-svg": "^2.4",
"wpackagist-plugin/wp-crontrol": "^1.19",
"wpackagist-theme/twentytwentyfive": "^1.4"
},
"require-dev": {
"automattic/vip-go-mu-plugins": "dev-master",
"automattic/vipwpcs": "^3.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.2",
"php-stubs/wordpress-stubs": "^6.9",
"php-stubs/wp-cli-stubs": "^2.12",
"phpcompatibility/php-compatibility": "^9.3",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpunit/phpunit": "^9.6",
"roots/wordpress": "^6.9",
"szepeviktor/phpstan-wordpress": "^1.3",
"wp-cli/php-cli-tools": "^0.11",
"wp-phpunit/wp-phpunit": "^6.9",
"xwp/wait-for": "^0.0.2",
"yoast/phpunit-polyfills": "^2.0"
},
"scripts": {
"lint": [
"@lint:project",
"@lint:theme",
"@lint:phpstan"
],
"format": [
"phpcbf"
],
"lint:project": "phpcs",
"lint:theme": "phpcs --standard=themes/example-theme/phpcs.xml.dist",
"lint:phpstan": "phpstan analyse --memory-limit 4G",
"lint-fix": [
"phpcbf",
"phpcbf --standard=themes/example-theme/phpcs.xml.dist"
],
"phpstan:update-baseline": "phpstan analyse --memory-limit 4G -vvv --generate-baseline local/phpstan/phpstan-baseline.neon --allow-empty-baseline",
"verify": [
"composer validate --no-check-all --no-check-publish --strict"
],
"test": [
"phpunit -v --configuration=phpunit.xml.dist",
"phpunit -v --configuration=themes/example-theme/phpunit.xml.dist"
],
"release": [
"composer install --no-dev --prefer-dist --optimize-autoloader"
]
},
"extra": {
"wordpress-install-dir": "local/public/wp",
"installer-paths": {
"plugins/{$name}": ["type:wordpress-plugin"],
"themes/{$name}": ["type:wordpress-theme"],
"client-mu-plugins/{$name}": ["type:wordpress-muplugin"]
}
}
}