forked from ProgressPlanner/pp-glossary
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
49 lines (49 loc) · 1.29 KB
/
Copy pathcomposer.json
File metadata and controls
49 lines (49 loc) · 1.29 KB
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
{
"name": "progress-planner/glossary",
"description": "A semantic, accessible glossary plugin for WordPress using ACF",
"type": "wordpress-plugin",
"license": "GPL-2.0-or-later",
"authors": [
{
"name": "Joost de Valk",
"email": "joost@joost.blog"
}
],
"require": {
"php": ">=7.4",
"composer/installers": "^1.0 || ^2.0"
},
"require-dev": {
"squizlabs/php_codesniffer": "^3.7",
"wp-coding-standards/wpcs": "^3.0",
"phpcompatibility/phpcompatibility-wp": "*",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpstan/phpstan": "^2.0",
"szepeviktor/phpstan-wordpress": "^2.0",
"phpstan/extension-installer": "^1.4",
"friendsofphp/php-cs-fixer": "^3.75"
},
"scripts": {
"check-cs": [
"@php ./vendor/bin/phpcs -s"
],
"fix-cs": [
"PHP_CS_FIXER_IGNORE_ENV=1",
"@php ./vendor/bin/phpcbf",
"@php ./vendor/bin/php-cs-fixer fix . --allow-risky=yes"
],
"lint": [
"@php ./vendor/php-parallel-lint/php-parallel-lint/parallel-lint . -e php --show-deprecated --exclude vendor --exclude node_modules --exclude .git"
],
"phpstan": [
"@php ./vendor/bin/phpstan analyse --memory-limit=2048M"
]
},
"config": {
"allow-plugins": {
"composer/installers": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
}
}