-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
76 lines (76 loc) · 2.24 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
{
"name": "drevops/git-artifact",
"description": "Build artifact from your codebase in CI and push it to a separate git repo.",
"license": "GPL-2.0-or-later",
"type": "package",
"authors": [
{
"name": "Alex Skrypnyk",
"email": "alex@drevops.com"
}
],
"homepage": "https://github.com/drevops/git-artifact",
"support": {
"issues": "https://github.com/drevops/git-artifact/issues",
"source": "https://github.com/drevops/git-artifact"
},
"require": {
"php": ">=8.2",
"czproject/git-php": "^4.3",
"monolog/monolog": "^3.5",
"symfony/console": "^7",
"symfony/filesystem": "^7",
"symfony/finder": "^7",
"symfony/monolog-bridge": "^7",
"symfony/process": "^7"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"drupal/coder": "^8.3",
"ergebnis/composer-normalize": "^2.43",
"phpmd/phpmd": "^2.15",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^10.5",
"rector/rector": "^1.0.0"
},
"autoload": {
"psr-4": {
"DrevOps\\GitArtifact\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"DrevOps\\GitArtifact\\Tests\\": "tests/phpunit"
}
},
"bin": [
"git-artifact"
],
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true
}
},
"scripts": {
"build": [
"@composer bin box require --dev humbug/box",
"box validate",
"box compile"
],
"lint": [
"phpcs",
"phpmd --exclude vendor,vendor-bin,node_modules . text phpmd.xml",
"phpstan --memory-limit=-1",
"rector --clear-cache --dry-run"
],
"lint-fix": [
"rector --clear-cache",
"phpcbf"
],
"reset": "rm -rf vendor vendor-bin composer.lock",
"test": "if [ \"${XDEBUG_MODE}\" = 'coverage' ]; then phpunit; else phpunit --no-coverage; fi"
}
}