-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
79 lines (79 loc) · 2.62 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
75
76
77
78
79
{
"name": "jazzman/custom-post-type",
"license": "MIT",
"type": "wordpress-muplugin",
"description": "A single class to help you build more advanced custom post types quickly.",
"authors": [
{
"name": "Vasyl Sokolyk",
"email": "[email protected]"
}
],
"require": {
"php": "^8.1",
"jazzman/autoload-interface": "^0.3.1",
"jazzman/pluralizer": "^1.0"
},
"autoload": {
"psr-4": {
"JazzMan\\Post\\": "src"
},
"files": [
"src/helper.php"
]
},
"require-dev": {
"jazzman/php-cs-fixer-rules": "^0.2.0",
"jetbrains/phpstorm-attributes": "^1.0",
"phpstan/extension-installer": "^1.3",
"rector/rector": "^0.16",
"roave/security-advisories": "@dev",
"roots/wordpress": "^6.2",
"szepeviktor/phpstan-wordpress": "^1.3"
},
"extra": {
"installer-paths": {
"vendor/wp/mu-plugins/{$name}/": ["type:wordpress-muplugin"],
"vendor/wp/plugins/{$name}/": ["type:wordpress-plugin"],
"vendor/wp/themes/{$name}/": ["type:wordpress-theme"]
},
"wordpress-install-dir": "vendor/wp"
},
"config": {
"sort-packages": true,
"preferred-install": "dist",
"optimize-autoloader": true,
"classmap-authoritative": true,
"apcu-autoloader": true,
"allow-plugins": {
"roots/wordpress-core-installer": true,
"phpstan/extension-installer": true
}
},
"scripts": {
"rm-cache" : [
"phpstan clear-result-cache",
"psalm --clear-cache",
"psalm --clear-global-cache"
],
"init-baseline": [
"@init-baseline-phpmd",
"@init-baseline-psalm",
"@baseline-phpstan"
],
"update-baseline": [
"@update-baseline-phpmd",
"@baseline-phpstan",
"@update-baseline-psalm"
],
"init-baseline-phpmd": "@phpmd --generate-baseline",
"update-baseline-phpmd": "@phpmd --update-baseline",
"init-baseline-psalm": "@psalm --set-baseline=psalm-baseline.xml",
"update-baseline-psalm": "@psalm --update-baseline=psalm-baseline.xml",
"baseline-phpstan": "@phpstan --generate-baseline=phpstan-baseline.neon",
"phpstan": "phpstan --no-progress",
"phpmd": "phpmd . text phpmd.ruleset.xml --exclude 'cache/*,vendor/*,sample.php'",
"psalm": "psalm --config=psalm.xml --show-info=true --stats --no-progress",
"php-cs-fixer": "php-cs-fixer fix -vvv --diff"
}
}