composer.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "name": "grasmash/yaml-expander",
  3. "description": "Expands internal property references in a yaml file.",
  4. "type": "library",
  5. "require": {
  6. "php": ">=5.4",
  7. "symfony/yaml": "^2.8.11|^3|^4",
  8. "dflydev/dot-access-data": "^1.1.0"
  9. },
  10. "license": "MIT",
  11. "authors": [
  12. {
  13. "name": "Matthew Grasmick"
  14. }
  15. ],
  16. "minimum-stability": "stable",
  17. "autoload": {
  18. "psr-4": {
  19. "Grasmash\\YamlExpander\\": "src/"
  20. }
  21. },
  22. "require-dev": {
  23. "phpunit/phpunit": "^4.8|^5.5.4",
  24. "satooshi/php-coveralls": "^1.0.2|dev-master",
  25. "greg-1-anderson/composer-test-scenarios": "^1",
  26. "squizlabs/php_codesniffer": "^2.7"
  27. },
  28. "scripts": {
  29. "cs": "phpcs -n --standard=PSR2 src tests --exclude=Generic.Files.LineLength",
  30. "cbf": "phpcbf -n --standard=PSR2 src tests --exclude=Generic.Files.LineLength",
  31. "unit": "phpunit",
  32. "lint": [
  33. "find src -name '*.php' -print0 | xargs -0 -n1 php -l",
  34. "find tests -name '*.php' -print0 | xargs -0 -n1 php -l"
  35. ],
  36. "test": [
  37. "@lint",
  38. "@unit",
  39. "@cs"
  40. ],
  41. "scenario": "scenarios/install",
  42. "post-update-cmd": [
  43. "create-scenario symfony4 'symfony/console:^4.0'",
  44. "create-scenario symfony2 'symfony/console:^2.8' --platform-php '5.4' --no-lockfile"
  45. ]
  46. },
  47. "config": {
  48. "optimize-autoloader": true,
  49. "sort-packages": true,
  50. "platform": {
  51. "php": "5.5.9"
  52. }
  53. },
  54. "extra": {
  55. "branch-alias": {
  56. "dev-master": "1.x-dev"
  57. }
  58. }
  59. }