-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
53 lines (53 loc) · 1.66 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
{
"name": "wpcs/wpcs",
"description": "Replace",
"type": "wordpress-plugin",
"license": "GPLv2 or later",
"authors": [
{
"name": "Jan Willem Oostendorp",
"email": "[email protected]"
}
],
"scripts": {
"phpfixer": "@php vendor/bin/php-cs-fixer fix --config=phpcs-fixer.dist.php",
"phpcbf": "@php vendor/bin/phpcbf || true",
"phpcs": "@php vendor/bin/phpcs",
"phpstan": "@php vendor/bin/phpstan",
"ci": [
"@phpfixer",
"@phpcbf",
"@phpcs",
"@phpstan"
],
"createzip": "bash .github/create-zip.sh -a",
"createzip:downloads": "@createzip -a -o ~/Downloads",
"update-translations": "wp i18n make-pot ./ && wp i18n update-po ./languages/janw-plugin-base.pot"
},
"scripts-descriptions": {
"phpcbf": "Run the phpcbf, an autoformatter.",
"phpcs": "Run phpcs, Checks style and syntax agianst theh WordPress coding stadard.",
"phpstan": "Run phpstan, Checks styntax, docblock, non existing functions/classes.",
"ci": "Run all the above syntax checkers at once.",
"createzip": "Will create a zip named 'plugin-slug.zip' in the plugin folder.",
"createzip:downloads": "Will create a zip named 'plugin-slug-0.1.0.zip' in the plugin folder."
},
"require-dev": {
"wp-coding-standards/wpcs": "dev-hotifx/escape-output-sniff",
"phpcompatibility/phpcompatibility-wp": "^2",
"szepeviktor/phpstan-wordpress": "^1",
"php-stubs/acf-pro-stubs": "^6",
"friendsofphp/php-cs-fixer": "^3"
},
"require": {
"php": ">=8.0"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"platform": {
"php": "8.0"
}
}
}