-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
75 lines (75 loc) · 1.58 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
{
"name": "hdnet/standard",
"type": "composer-plugin",
"description" : "HDNET code style and workflow standards for backend projects.",
"license": "GPL-2.0-or-later",
"minimum-stability": "stable",
"autoload": {
"psr-4": {
"HDNET\\Standard\\": "src/"
}
},
"require": {
"php": "^8.0",
"composer-plugin-api": "^2.0",
"captainhook/captainhook": "^5.10",
"friendsofphp/php-cs-fixer": "^3.8",
"ramsey/conventional-commits": "^1.3",
"rector/rector": "^0.12",
"phpstan/phpstan": "^1.5"
},
"require-dev": {
"composer/composer": "^2.0"
},
"scripts":{
"post-autoload-dump": [
"@captainhook-setup"
],
"yaml-lint": [
"yaml-lint .lando.yml"
],
"captainhook-setup": [
"captainhook install --force"
],
"phpstan": [
"phpstan analyse src config --level 5"
],
"phpstan-ci": [
"@phpstan --no-interaction --no-ansi --memory-limit=2G --error-format=junit --no-progress"
],
"php-cs-fixer": [
"php-cs-fixer fix"
],
"php-cs-fixer-ci": [
"@php-cs-fixer --dry-run --no-ansi --show-progress=none --diff --format=junit"
],
"psalm": [
"psalm"
],
"psalm-ci": [
"@psalm --no-cache --no-file-cache --no-progress --memory-limit=2G --output-format=junit"
],
"rector": [
"rector"
],
"code": [
"@yaml-lint",
"@rector",
"@phpstan",
"@php-cs-fixer",
"@psalm --no-cache"
],
"code:check": [
"@yaml-lint",
"@phpstan",
"@php-cs-fixer --dry-run",
"@psalm"
]
},
"extra": {
"class": "HDNET\\Standard\\Composer\\Plugin",
"branch-alias": {
"dev-master": "3.1.x-dev"
}
}
}