composer.json 1.3 KB

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