composer.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. "greg-1-anderson/composer-test-scenarios": "^1",
  24. "phpunit/phpunit": "^4.8|^5.5.4",
  25. "satooshi/php-coveralls": "^1.0.2|dev-master",
  26. "squizlabs/php_codesniffer": "^2.7",
  27. "symfony/console": "^2.8"
  28. },
  29. "scripts": {
  30. "cs": "phpcs -n --standard=PSR2 src tests --exclude=Generic.Files.LineLength",
  31. "cbf": "phpcbf -n --standard=PSR2 src tests --exclude=Generic.Files.LineLength",
  32. "unit": "phpunit",
  33. "lint": [
  34. "find src -name '*.php' -print0 | xargs -0 -n1 php -l",
  35. "find tests -name '*.php' -print0 | xargs -0 -n1 php -l"
  36. ],
  37. "test": [
  38. "@lint",
  39. "@unit",
  40. "@cs"
  41. ],
  42. "scenario": "scenarios/install",
  43. "post-update-cmd": [
  44. "create-scenario symfony4 'symfony/console:^4.0'",
  45. "create-scenario symfony2 'symfony/console:^2.8' --platform-php '5.4' --no-lockfile"
  46. ]
  47. },
  48. "config": {
  49. "optimize-autoloader": true,
  50. "sort-packages": true,
  51. "platform": {
  52. "php": "5.4"
  53. },
  54. "vendor-dir": "../../vendor"
  55. },
  56. "extra": {
  57. "branch-alias": {
  58. "dev-master": "1.x-dev"
  59. }
  60. }
  61. }