composer.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. "composer-plugin-api": "^1.1",
  29. "composer/installers": "^1.2"
  30. },
  31. "require-dev": {
  32. "composer/composer": "^1",
  33. "dealerdirect/phpcodesniffer-composer-installer": "dev-master",
  34. "drupal/coder": "^8.3.6",
  35. "phpstan/phpstan": "^0.12.99",
  36. "phpunit/phpunit": "^9.5",
  37. "squizlabs/php_codesniffer": "^3.0@dev",
  38. "twig/twig": "^1"
  39. },
  40. "scripts": {
  41. "check": [
  42. "@cs",
  43. "@stan",
  44. "@test",
  45. "@cover"
  46. ],
  47. "cover": "phpunit --coverage-filter=src --coverage-html=coverage --coverage-text",
  48. "cs": "phpcs --standard=PSR1,Drupal -v src",
  49. "stan": "phpstan analyse --level 5 src tests",
  50. "test": "phpunit tests"
  51. },
  52. "type": "composer-plugin"
  53. }