-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
56 lines (56 loc) · 1.35 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
{
"name": "lmc/http-constants",
"type": "library",
"description": "HTTP Header Fields Constants",
"keywords": [
"http",
"request",
"response",
"constants"
],
"license": "MIT",
"require": {
"php": "^7.3 || ^8.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.8",
"lmc/coding-standard": "^3.0",
"php-parallel-lint/php-parallel-lint": "^1.2",
"phpunit/phpunit": "^9.5"
},
"config": {
"sort-packages": true
},
"autoload": {
"psr-4": {
"Lmc\\HttpConstants\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Lmc\\HttpConstants\\": "tests/"
}
},
"minimum-stability": "stable",
"scripts": {
"all": [
"@lint",
"@analyze",
"@tests"
],
"analyze": [
"@cs"
],
"cs": "./vendor/bin/ecs check ./src/ ./tests/ ecs.php --ansi",
"fix": [
"@composer normalize",
"vendor/bin/ecs check -vv --ansi --clear-cache --fix src/ tests/ ecs.php"
],
"lint": [
"vendor/bin/parallel-lint -j 10 -e php ./src ./tests ecs.php",
"@composer validate",
"@composer normalize --dry-run"
],
"tests": "vendor/bin/phpunit"
}
}