-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
68 lines (68 loc) · 1.71 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": "wp-blocks/vinyl",
"description": "An advanced WordPress audio player plugin",
"type": "project",
"license": "GPL-2-or-later",
"authors": [
{
"name": "Erik Golinelli",
"email": "erik@codekraft.it"
},
{
"name": "John Hooks",
"email": "bitmachina@outlook.com"
}
],
"minimum-stability": "stable",
"require": {
"php": "^7.4 | ^8.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"friendsofphp/php-cs-fixer": "^3.50",
"php-stubs/wordpress-tests-stubs": "^6.3",
"php-stubs/wp-cli-stubs": "^2.9",
"phpcompatibility/phpcompatibility-wp": "*",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.10",
"squizlabs/php_codesniffer": "^3.7",
"szepeviktor/phpstan-wordpress": "^1.3",
"wp-coding-standards/wpcs": "^3.0",
"wp-cli/wp-cli-bundle": "^2.10"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"autoload": {
"psr-4": {
"WpBlocks\\Vinyl\\": "includes/"
}
},
"scripts": {
"analyze": [
"@php vendor/bin/phpstan analyse --memory-limit=4G --no-progress --no-interaction --ansi"
],
"lint": [
"@php vendor/bin/php-cs-fixer check --config=.php-cs-fixer.dist.php --ansi"
],
"lint:fix": [
"@php vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.dist.php --ansi"
],
"lint:wp": [
"@php vendor/bin/phpcs -s"
],
"lint:wp:fix": [
"@php vendor/bin/phpcbf"
]
},
"scripts-descriptions": {
"test:analyze": "Run static code analysis.",
"lint": "Check PHP code formatting.",
"lint:fix": "Fix PHP code formatting.",
"lint:wp": "Check WordPress coding standards.",
"lint:wp:fix": "Fix WordPress coding standards."
}
}