forked from janw-me/default-featured-image
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
53 lines (53 loc) · 1.84 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": "janw-me/default-featured-image",
"description": "WordPress plugin to set a Default Featured Image.",
"type": "wordpress-plugin",
"license": "GPLv2 or later",
"authors": [
{
"name": "Jan Willem Oostendorp",
"email": "webmaster@janw.me"
}
],
"scripts": {
"phpcbf": "@php vendor/bin/phpcbf || true",
"phpcs": "@php vendor/bin/phpcs",
"lint": "@php vendor/bin/parallel-lint --exclude ../.git --exclude vendor .",
"phpstan": "@php vendor/bin/phpstan",
"ci": [
"@phpcbf",
"@phpcs",
"@lint",
"@phpstan"
],
"createzip": "bash .github/create-zip.sh",
"createzip-in-downloads": "@createzip -a -o ~/Downloads",
"createzip-with-version": "@createzip -a"
},
"scripts-descriptions": {
"phpcbf": "Run the phpcbf, an autoformatter.",
"phpcs": "Run phpcs, Checks style and syntax agianst theh WordPress coding stadard.",
"lint": "Run php linter, Checks syntax.",
"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-in-downloads": "Will create a zip named 'plugin-slug-0.1.0.zip' in the plugin folder.",
"createzip-with-version": "Will create a zip named 'plugin-slug-0.1.0.zip' in the Downloads folder."
},
"require": {
"php": ">=7.4"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.5.2",
"wp-coding-standards/wpcs": "^2.2.0",
"phpcompatibility/phpcompatibility-wp": "^2.1.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0.0",
"szepeviktor/phpstan-wordpress": "^1.0",
"php-parallel-lint/php-parallel-lint": "^1.2"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}