-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcomposer.json
62 lines (62 loc) · 1.78 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
{
"name": "junaidbhura/fooclient",
"description": "Custom website for Foo Client",
"repositories":[
{
"type":"composer",
"url":"https://wpackagist.org"
},
{
"type": "package",
"package": {
"name": "junaidbhura/advanced-custom-fields-pro",
"version": "5.11.3",
"type": "wordpress-plugin",
"dist": {
"type": "zip",
"url": "https://www.advancedcustomfields.com"
},
"require": {
"junaidbhura/composer-wp-pro-plugins": "*"
}
}
},
{
"type":"vcs",
"url":"https://github.com/junaidbhura/gumponents"
}
],
"extra": {
"installer-paths": {
"wp-content/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"wp-content/plugins/{$name}/": ["type:wordpress-plugin"],
"wp-content/themes/{$name}/": ["type:wordpress-theme"]
},
"wordpress-install-dir": "wp"
},
"require": {
"php": ">=8.0",
"composer/installers": "^1.8",
"junaidbhura/advanced-custom-fields-pro": "*",
"junaidbhura/gumponents": "*",
"wpackagist-plugin/wp-redis": "*"
},
"require-dev": {
"roots/wordpress": "5.8.2",
"vlucas/phpdotenv": "^4.1.5",
"oscarotero/env": "^2.0",
"squizlabs/php_codesniffer": "*",
"phpunit/phpunit": "7.5.20",
"wp-coding-standards/wpcs": "*",
"wp-phpunit/wp-phpunit": "*",
"yoast/phpunit-polyfills": "^1.0",
"wpackagist-plugin/query-monitor": "*"
},
"scripts": {
"set-coding-standards": "phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs",
"post-install-cmd": "[ $COMPOSER_DEV_MODE -eq 0 ] || composer run set-coding-standards",
"post-update-cmd": "[ $COMPOSER_DEV_MODE -eq 0 ] || composer run set-coding-standards",
"lint-php": "phpcs",
"test": "phpunit"
}
}