composer.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "authors": [
  3. {
  4. "name": "Frederic G. MARAND",
  5. "email": "fgm@osinet.fr"
  6. }
  7. ],
  8. "autoload": {
  9. "psr-4": {
  10. "Fgm\\Drupal\\Composer\\": "src/"
  11. }
  12. },
  13. "config": {
  14. "allow-plugins": {
  15. "composer/installers": true,
  16. "dealerdirect/phpcodesniffer-composer-installer": true
  17. },
  18. "bin-dir": "vendor/bin",
  19. "discard-changes": true,
  20. "optimize-autoloader": true,
  21. "sort-packages": true
  22. },
  23. "description": "A Composer plugin to help build Drupal sites",
  24. "extra": {
  25. "class": "Fgm\\Drupal\\Composer\\Builder"
  26. },
  27. "license": "GPL-2.0-or-later",
  28. "minimum-stability": "dev",
  29. "name": "fgm/drupal_composer_builder",
  30. "prefer-stable": true,
  31. "require": {
  32. "php": "^8.2",
  33. "composer-plugin-api": "^2.3.0",
  34. "composer/installers": "^v2.3.0"
  35. },
  36. "require-dev": {
  37. "composer/composer": "^2.1",
  38. "dealerdirect/phpcodesniffer-composer-installer": "^1",
  39. "drupal/coder": "^8.3.24",
  40. "phpstan/phpstan": "^1",
  41. "phpunit/phpunit": "^11",
  42. "squizlabs/php_codesniffer": "^3.6",
  43. "twig/twig": "^v2"
  44. },
  45. "scripts": {
  46. "check": [
  47. "@cs",
  48. "@stan",
  49. "@test",
  50. "@cover"
  51. ],
  52. "cover": "phpunit --coverage-filter=src --coverage-html=coverage tests",
  53. "cs": "phpcs --standard=PSR1,Drupal -v src",
  54. "stan": "phpstan analyze --level 6 src tests",
  55. "test": "phpunit tests"
  56. },
  57. "type": "composer-plugin"
  58. }