-
Notifications
You must be signed in to change notification settings - Fork 6
/
composer.json
74 lines (74 loc) · 1.83 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
69
70
71
72
73
74
{
"name": "jdevalk/comment-hacks",
"description": "Make comments management easier by applying some of the simple hacks Joost gathered over decades of using WordPress.",
"keywords": [
"comments",
"spam",
"emails"
],
"homepage": "https://joost.blog/plugins/comment-hacks/",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Joost de Valk",
"email": "joost@joost.blog",
"homepage": "https://joost.blog"
}
],
"type": "wordpress-plugin",
"support": {
"issues": "https://github.com/jdevalk/comment-hacks/issues",
"forum": "https://wordpress.org/support/plugin/yoast-comment-hacks",
"wiki": "https://github.com/jdevalk/comment-hacks/wiki",
"source": "https://github.com/jdevalk/comment-hacks"
},
"require": {
"php": ">=7.4",
"composer/installers": "^1.12.0"
},
"require-dev": {
"yoast/yoastcs": "^2.2.1",
"yoast/wp-test-utils": "^1.1.1"
},
"config": {
"platform": {
"php": "7.4"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"composer/installers": true
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"classmap": [
"admin/",
"deprecated/",
"inc/"
]
},
"autoload-dev": {
"classmap": [
"tests/"
]
},
"scripts": {
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude node_modules --exclude .git"
],
"config-yoastcs" : [
"Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin::run",
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --config-set default_standard Yoast"
],
"check-cs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --runtime-set testVersion 7.4-"
],
"fix-cs": [
"@php ./vendor/squizlabs/php_codesniffer/bin/phpcbf"
],
"test": [
"@php ./vendor/phpunit/phpunit/phpunit"
]
}
}