composer.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. "bin-dir": "vendor/bin",
  15. "discard-changes": true,
  16. "optimize-autoloader": true,
  17. "sort-packages": true
  18. },
  19. "description": "A Composer plugin to help build Drupal sites",
  20. "extra": {
  21. "class": "Fgm\\Drupal\\Composer\\Builder"
  22. },
  23. "license": "GPL-2.0-or-later",
  24. "minimum-stability": "dev",
  25. "name": "fgm/drupal_composer_builder",
  26. "prefer-stable": true,
  27. "require": {
  28. "php": "^7.4 || ^8",
  29. "composer-plugin-api": "^1.1 || ^2.0.0",
  30. "composer/installers": "^1.12"
  31. },
  32. "require-dev": {
  33. "composer/composer": "^2.1",
  34. "dealerdirect/phpcodesniffer-composer-installer": "dev-master",
  35. "drupal/coder": "^8.3.13",
  36. "phpstan/phpstan": "^0.12.99",
  37. "phpunit/phpunit": "^9.5",
  38. "squizlabs/php_codesniffer": "^3.6",
  39. "twig/twig": "^1"
  40. },
  41. "scripts": {
  42. "check": [
  43. "@cs",
  44. "@stan",
  45. "@test",
  46. "@cover"
  47. ],
  48. "cover": "phpunit --coverage-filter=src --coverage-html=coverage --coverage-text",
  49. "cs": "phpcs --standard=PSR1,Drupal -v src",
  50. "stan": "phpstan analyse --level 5 src tests",
  51. "test": "phpunit tests"
  52. },
  53. "type": "composer-plugin"
  54. }