-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
75 lines (75 loc) 路 2.46 KB
/
Copy pathcomposer.json
File metadata and controls
75 lines (75 loc) 路 2.46 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
{
"name": "drevops/environment-detector",
"description": "Universal environment detector",
"license": "GPL-2.0-or-later",
"type": "library",
"authors": [
{
"name": "Alex Skrypnyk",
"email": "alex@drevops.com",
"homepage": "https://drevops.com",
"role": "Maintainer"
}
],
"homepage": "https://github.com/drevops/environment-detector",
"support": {
"issues": "https://github.com/drevops/environment-detector/issues",
"source": "https://github.com/drevops/environment-detector"
},
"require": {
"php": ">=8.2"
},
"require-dev": {
"alexskrypnyk/phpunit-helpers": "^0.15.0",
"dealerdirect/phpcodesniffer-composer-installer": "^1",
"drevops/phpcs-standard": "^0.7.0",
"drupal/coder": "^8.3",
"ergebnis/composer-normalize": "^2.42",
"opis/closure": "^4.0",
"phpbench/phpbench": "^1.4",
"phpstan/phpstan": "^2",
"phpunit/phpunit": "^12",
"rector/rector": "^2",
"skpr/config": "^3.0"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"DrevOps\\EnvironmentDetector\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"DrevOps\\EnvironmentDetector\\Benchmarks\\": "benchmarks",
"DrevOps\\EnvironmentDetector\\Tests\\": "tests"
},
"classmap": [
"tests"
]
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true
},
"discard-changes": true,
"sort-packages": true
},
"scripts": {
"benchmark": "mkdir -p .logs >/dev/null && phpbench run --ref=baseline --report=aggregate --dump-file .logs/performance-report.json --output html --output csv --output console",
"benchmark-baseline": "mkdir -p .logs .phpbench >/dev/null && phpbench run --store --tag=baseline --retry-threshold=5 --iterations=20 --report=aggregate --dump-file .logs/performance-report.json --output html --output csv --output console",
"lint": [
"phpcs",
"phpstan",
"rector --dry-run"
],
"lint-fix": [
"rector",
"phpcbf"
],
"reset": "rm -Rf vendor composer.lock",
"test": "phpunit --no-coverage",
"test-coverage": "phpunit"
}
}