菜谱项目

composer.json 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "nesbot/carbon",
  3. "type": "library",
  4. "description": "A simple API extension for DateTime.",
  5. "keywords": [
  6. "date",
  7. "time",
  8. "DateTime"
  9. ],
  10. "homepage": "http://carbon.nesbot.com",
  11. "support": {
  12. "issues": "https://github.com/briannesbitt/Carbon/issues",
  13. "source": "https://github.com/briannesbitt/Carbon"
  14. },
  15. "license": "MIT",
  16. "authors": [
  17. {
  18. "name": "Brian Nesbitt",
  19. "email": "brian@nesbot.com",
  20. "homepage": "http://nesbot.com"
  21. }
  22. ],
  23. "require": {
  24. "php": ">=5.3.0",
  25. "symfony/translation": "~2.6 || ~3.0"
  26. },
  27. "require-dev": {
  28. "friendsofphp/php-cs-fixer": "~2",
  29. "phpunit/phpunit": "~4.0 || ~5.0"
  30. },
  31. "autoload": {
  32. "psr-4": {
  33. "Carbon\\": "src/Carbon/"
  34. }
  35. },
  36. "autoload-dev": {
  37. "psr-4": {
  38. "Tests\\": "tests/"
  39. }
  40. },
  41. "extra": {
  42. "branch-alias": {
  43. "dev-master": "1.23-dev"
  44. }
  45. },
  46. "config": {
  47. "sort-packages": true
  48. },
  49. "scripts": {
  50. "test": "./vendor/bin/phpunit; ./vendor/bin/php-cs-fixer fix -v --diff --dry-run;",
  51. "phpunit": "./vendor/bin/phpunit;",
  52. "phpcs": "./vendor/bin/php-cs-fixer fix -v --diff --dry-run;"
  53. }
  54. }