-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
124 lines (124 loc) · 3.83 KB
/
Copy pathcomposer.json
File metadata and controls
124 lines (124 loc) · 3.83 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
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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "ghostwriter/version",
"description": "Parse, compare, and manipulate versions that follow the *Semantic Versioning* specification.",
"license": "BSD-3-Clause",
"type": "library",
"keywords": [
"ghostwriter",
"version",
"semantic-version",
"semver"
],
"authors": [
{
"name": "Nathanael Esayeas",
"email": "nathanael.esayeas@protonmail.com",
"homepage": "https://github.com/ghostwriter",
"role": "Developer"
}
],
"homepage": "https://github.com/ghostwriter/version",
"support": {
"issues": "https://github.com/ghostwriter/version/issues",
"forum": "https://github.com/ghostwriter/version/discussions",
"source": "https://github.com/ghostwriter/version",
"docs": "https://github.com/ghostwriter/version",
"rss": "https://github.com/ghostwriter/version/releases.atom"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/ghostwriter"
}
],
"require": {
"php": ">=8.1,<8.3",
"phar-io/version": "*",
"ghostwriter/collection": "^1.2",
"ghostwriter/container": "^1.3.0",
"ghostwriter/event-dispatcher": "^1.4",
"ghostwriter/json": "^1.1",
"ghostwriter/option": "^1.3"
},
"require-dev": {
"ghostwriter/coding-standard": "dev-main"
},
"replace": {},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Ghostwriter\\Version\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Ghostwriter\\Version\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"infection/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
},
"classmap-authoritative": true,
"discard-changes": true,
"optimize-autoloader": true,
"preferred-install": "dist",
"prepend-autoloader": true,
"process-timeout": 5000,
"sort-packages": true
},
"scripts": {
"cache:clear": [
"rm -fr ./.cache"
],
"check": [
"@composer validate",
"@normalizer",
"@cs-check",
"@cs-fix",
"@test",
"@psalm:security",
"@rector:dry-run",
"@psalm:dry-run"
],
"cs-check": "vendor/bin/ecs check --clear-cache || true",
"cs-fix": [
"vendor/bin/ecs check --fix --clear-cache",
"vendor/bin/ecs check-markdown --fix --clear-cache"
],
"infection": [
"@putenv XDEBUG_MODE=coverage",
"vendor/bin/infection --verbose"
],
"phpunit": [
"@xdebug",
"phpunit --colors=always --testdox --stop-on-failure --verbose"
],
"missing-returntypes": "psalm --alter --issues=MissingReturnType",
"normalizer": "composer normalize --no-check-lock",
"psalm": "@psalm:shepherd",
"psalm:baseline": "psalm --set-baseline=psalm-baseline.xml",
"psalm:dry-run": "psalm --alter --issues=all --dry-run",
"psalm:missing": "psalm --alter --issues=MissingReturnType",
"psalm:security": "psalm --taint-analysis",
"psalm:shepherd": "psalm --shepherd --stats --no-diff --no-cache",
"rector": "vendor/bin/rector process",
"rector:dry-run": "vendor/bin/rector process --dry-run || true",
"test": [
"@xdebug",
"@phpunit",
"@psalm",
"@infection"
],
"test:coverage": [
"@cache:clear",
"@xdebug",
"@phpunit"
],
"xdebug": [
"@putenv XDEBUG_MODE=coverage"
]
}
}