-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
58 lines (58 loc) · 1.91 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
{
"name": "apalfrey/construct-wp",
"type": "project",
"license": "MIT",
"description": "The Construct WP plugin & template theme",
"homepage": "/~https://github.com/apalfrey/construct-wp",
"authors": [
{
"name": "Andrew Palfrey",
"email": "apalfrey@apalfrey.me",
"homepage": "https://apalfrey.me"
}
],
"support": {
"issues": "/~https://github.com/apalfrey/construct-wp/issues"
},
"repositories": [
{
"type": "composer",
"url": "https://wpackagist.org",
"only": [
"wpackagist-plugin/*"
]
}
],
"require": {
"wp-cli/wp-cli-bundle": "*",
"squizlabs/php_codesniffer": "*",
"phpcompatibility/php-compatibility": "*",
"wp-coding-standards/wpcs": "*"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"extra": {
"installer-paths": {
"plugins/{$name}/": [
"type:wordpress-plugin"
],
"themes/{$name}/": [
"type:wordpress-theme"
]
}
},
"scripts": {
"phpcs-compat": "phpcs -p ./plugin --colors --report-file=phpcs-compat.log --report-width=150 --extensions=php --standard=PHPCompatibility --runtime-set testVersion 8.2",
"phpcs-setup": "phpcs --config-set installed_paths vendor/wp-coding-standards/wpcs",
"phpcs": "phpcs -ps ./ --colors --report-file=phpcs.log --report-width=150 --extensions=php -d memory_limit=512M --runtime-set ignore_warnings_on_exit true --runtime-set ignore_errors_on_exit true",
"phpcs-config": "phpcs --config-show"
}
}