菜谱项目

composer.json 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. {
  2. "name": "laravel/laravel",
  3. "description": "The Laravel Framework.",
  4. "keywords": ["framework", "laravel"],
  5. "license": "MIT",
  6. "type": "project",
  7. "require": {
  8. "php": ">=5.6.4",
  9. "dingo/api": "1.0.x@dev",
  10. "johnlui/aliyun-oss": "^2.2",
  11. "laravel/framework": "5.4.*",
  12. "laravel/tinker": "~1.0",
  13. "tymon/jwt-auth": "0.5.*",
  14. "guzzlehttp/guzzle": "6.*"
  15. },
  16. "require-dev": {
  17. "fzaninotto/faker": "~1.4",
  18. "mockery/mockery": "0.9.*",
  19. "phpunit/phpunit": "~5.7"
  20. },
  21. "autoload": {
  22. "classmap": [
  23. "database",
  24. "app/libs"
  25. ],
  26. "psr-4": {
  27. "App\\": "app/",
  28. "libs\\":"app/libs"
  29. }
  30. },
  31. "autoload-dev": {
  32. "psr-4": {
  33. "Tests\\": "tests/"
  34. }
  35. },
  36. "scripts": {
  37. "post-root-package-install": [
  38. "php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  39. ],
  40. "post-create-project-cmd": [
  41. "php artisan key:generate"
  42. ],
  43. "post-install-cmd": [
  44. "Illuminate\\Foundation\\ComposerScripts::postInstall",
  45. "php artisan optimize"
  46. ],
  47. "post-update-cmd": [
  48. "Illuminate\\Foundation\\ComposerScripts::postUpdate",
  49. "php artisan optimize"
  50. ]
  51. },
  52. "config": {
  53. "preferred-install": "dist",
  54. "sort-packages": true,
  55. "optimize-autoloader": true
  56. }
  57. }