Skip to content

Commit

Permalink
Added ergebnis/composer-normalize and normalised composer.json.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Sep 18, 2024
1 parent 45f3b09 commit da2a6c5
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "drevops/git-artifact",
"type": "package",
"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",
Expand All @@ -28,6 +28,7 @@
"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",
Expand All @@ -43,13 +44,22 @@
"DrevOps\\GitArtifact\\Tests\\": "tests/phpunit"
}
},
"bin": [
"git-artifact"
],
"config": {
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"dealerdirect/phpcodesniffer-composer-installer": 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",
Expand All @@ -60,14 +70,6 @@
"rector --clear-cache",
"phpcbf"
],
"test": "if [ \"${XDEBUG_MODE}\" = 'coverage' ]; then phpunit; else phpunit --no-coverage; fi",
"build": [
"@composer bin box require --dev humbug/box",
"box validate",
"box compile"
]
},
"bin": [
"git-artifact"
]
"test": "if [ \"${XDEBUG_MODE}\" = 'coverage' ]; then phpunit; else phpunit --no-coverage; fi"
}
}

0 comments on commit da2a6c5

Please sign in to comment.