composer.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {
  2. "name": "consolidation/output-formatters",
  3. "description": "Format text by applying transformations provided by plug-in formatters.",
  4. "license": "MIT",
  5. "authors": [
  6. {
  7. "name": "Greg Anderson",
  8. "email": "greg.1.anderson@greenknowe.org"
  9. }
  10. ],
  11. "autoload":{
  12. "psr-4":{
  13. "Consolidation\\OutputFormatters\\": "src"
  14. }
  15. },
  16. "autoload-dev": {
  17. "psr-4": {
  18. "Consolidation\\TestUtils\\": "tests/src"
  19. }
  20. },
  21. "require": {
  22. "php": ">=7.1.3",
  23. "dflydev/dot-access-data": "^1.1.0",
  24. "symfony/console": "^4|^5",
  25. "symfony/finder": "^4|^5"
  26. },
  27. "require-dev": {
  28. "g1a/composer-test-scenarios": "^3",
  29. "php-coveralls/php-coveralls": "^2.2",
  30. "phpunit/phpunit": "^6",
  31. "squizlabs/php_codesniffer": "^3",
  32. "symfony/var-dumper": "^4",
  33. "symfony/yaml": "^4"
  34. },
  35. "suggest": {
  36. "symfony/var-dumper": "For using the var_dump formatter"
  37. },
  38. "config": {
  39. "optimize-autoloader": true,
  40. "sort-packages": true,
  41. "platform": {
  42. "php": "7.2.28"
  43. }
  44. },
  45. "scripts": {
  46. "cs": "phpcs --standard=PSR2 -n src",
  47. "cbf": "phpcbf --standard=PSR2 -n src",
  48. "unit": "phpunit --colors=always",
  49. "lint": [
  50. "find src -name '*.php' -print0 | xargs -0 -n1 php -l",
  51. "find tests/src -name '*.php' -print0 | xargs -0 -n1 php -l"
  52. ],
  53. "test": [
  54. "@lint",
  55. "@unit",
  56. "@cs"
  57. ]
  58. },
  59. "extra": {
  60. "scenarios": {
  61. "symfony4": {
  62. "require": {
  63. "symfony/console": "^4.0"
  64. },
  65. "config": {
  66. "platform": {
  67. "php": "7.1.3"
  68. }
  69. }
  70. }
  71. },
  72. "branch-alias": {
  73. "dev-master": "4.x-dev"
  74. }
  75. }
  76. }