composer.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "name": "wikimedia/composer-merge-plugin",
  3. "description": "Composer plugin to merge multiple composer.json files",
  4. "type": "composer-plugin",
  5. "license": "MIT",
  6. "authors": [
  7. {
  8. "name": "Bryan Davis",
  9. "email": "bd808@wikimedia.org"
  10. }
  11. ],
  12. "minimum-stability": "dev",
  13. "prefer-stable": true,
  14. "require": {
  15. "composer-plugin-api": "^1.0",
  16. "php": ">=5.3.2"
  17. },
  18. "require-dev": {
  19. "composer/composer": "~1.0.0",
  20. "jakub-onderka/php-parallel-lint": "~0.8",
  21. "phpunit/phpunit": "~4.8|~5.0",
  22. "squizlabs/php_codesniffer": "~2.1.0"
  23. },
  24. "autoload": {
  25. "psr-4": {
  26. "Wikimedia\\Composer\\": "src/"
  27. }
  28. },
  29. "extra": {
  30. "branch-alias": {
  31. "dev-master": "1.3.x-dev"
  32. },
  33. "class": "Wikimedia\\Composer\\MergePlugin"
  34. },
  35. "config": {
  36. "optimize-autoloader": true
  37. },
  38. "scripts": {
  39. "test": [
  40. "composer validate --no-interaction",
  41. "parallel-lint src tests",
  42. "phpunit --log-junit=reports/unitreport.xml --coverage-text --coverage-html=reports/coverage --coverage-clover=reports/coverage.xml",
  43. "phpcs --encoding=utf-8 --standard=PSR2 --report-checkstyle=reports/checkstyle-phpcs.xml --report-full --extensions=php src/* tests/phpunit/*"
  44. ]
  45. }
  46. }