-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
68 lines (68 loc) · 1.76 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
{
"name": "codesoup/wppb",
"description": "WordPress Plugin Boilerplate",
"homepage": "https://github.com/code-soup/wordpress-plugin-boilerplate",
"type": "wordpress-plugin",
"license": "GPL-3.0",
"support": {
"issues": "https://github.com/code-soup/wordpress-plugin-boilerplate/issues"
},
"authors": [
{
"name": "Vlado Bosnjak",
"email": "[email protected]",
"homepage": "https://www.bobz.co"
},
{
"name": "Code Soup",
"email": "[email protected]",
"homepage": "https://www.codesoup.co"
}
],
"keywords": [
"wppb",
"wordpress",
"wordpress plugin",
"wordpress plugin boilerplate"
],
"autoload": {
"classmap": [
"includes/"
]
},
"require": {
"php": ">=8.1.0",
"composer/installers": "^2.3.0",
"vlucas/phpdotenv": "^5.6"
},
"require-dev": {
"wp-coding-standards/wpcs": "*",
"phpcompatibility/phpcompatibility-wp": "*",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0",
"php-parallel-lint/php-parallel-lint": "^1.3.1",
"php-parallel-lint/php-console-highlighter": "^0.5.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": true
}
},
"scripts": {
"wpcs": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --report=full",
"cbf": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf --report=full",
"lint": "@php ./vendor/bin/parallel-lint . -e php --show-deprecated --exclude vendor --exclude .git"
},
"extra": {
"installer-paths": {
"vendor/{$name}": [
"vendor/package"
]
},
"scripts-description": {
"wpcs": "Analyze code against the WordPress coding standards with PHP_CodeSniffer",
"cbf": "Fix coding standards warnings/errors automatically with PHP Code Beautifier",
"lint": "Lint PHP files against parse errors"
}
}
}