composer.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. {
  2. "$schema": "https://getcomposer.org/schema.json",
  3. "name": "laravel/blank-react-starter-kit",
  4. "type": "project",
  5. "description": "The skeleton application for the Laravel framework.",
  6. "keywords": [
  7. "laravel",
  8. "framework"
  9. ],
  10. "license": "MIT",
  11. "require": {
  12. "php": "^8.3",
  13. "aws/aws-sdk-php": "^3.379",
  14. "casbin/casbin": "^4.1",
  15. "firebase/php-jwt": "^7.0",
  16. "godruoyi/php-snowflake": "^3.2",
  17. "guzzlehttp/guzzle": "^7.10",
  18. "inertiajs/inertia-laravel": "^3.0",
  19. "intervention/image": "^4.0",
  20. "laravel/framework": "^13.0",
  21. "laravel/tinker": "^3.0",
  22. "laravel/wayfinder": "^0.1.14",
  23. "mustache/mustache": "^3.0",
  24. "opensearch-project/opensearch-php": "^2.6",
  25. "php-amqplib/php-amqplib": "^3.7",
  26. "php-ffmpeg/php-ffmpeg": "^1.4",
  27. "phpoffice/phpspreadsheet": "^5.7",
  28. "predis/predis": "^3.4"
  29. },
  30. "require-dev": {
  31. "fakerphp/faker": "^1.24",
  32. "laravel/boost": "^2.2",
  33. "laravel/pail": "^1.2.5",
  34. "laravel/pint": "^1.27",
  35. "laravel/sail": "^1.53",
  36. "mockery/mockery": "^1.6",
  37. "nunomaduro/collision": "^8.9",
  38. "pestphp/pest": "^4.6",
  39. "pestphp/pest-plugin-laravel": "^4.1"
  40. },
  41. "autoload": {
  42. "psr-4": {
  43. "App\\": "app/",
  44. "Database\\Factories\\": "database/factories/",
  45. "Database\\Seeders\\": "database/seeders/"
  46. }
  47. },
  48. "autoload-dev": {
  49. "psr-4": {
  50. "Tests\\": "tests/"
  51. }
  52. },
  53. "scripts": {
  54. "setup": [
  55. "composer install",
  56. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
  57. "@php artisan key:generate",
  58. "@php artisan migrate --force",
  59. "npm install",
  60. "npm run build"
  61. ],
  62. "dev": [
  63. "Composer\\Config::disableProcessTimeout",
  64. "npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1 --timeout=0\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite --kill-others"
  65. ],
  66. "lint": [
  67. "pint --parallel"
  68. ],
  69. "lint:check": [
  70. "pint --parallel --test"
  71. ],
  72. "ci:check": [
  73. "Composer\\Config::disableProcessTimeout",
  74. "npm run lint:check",
  75. "npm run format:check",
  76. "npm run types:check",
  77. "@test"
  78. ],
  79. "test": [
  80. "@php artisan config:clear --ansi",
  81. "@lint:check",
  82. "@php artisan test"
  83. ],
  84. "post-autoload-dump": [
  85. "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
  86. "@php artisan package:discover --ansi"
  87. ],
  88. "post-update-cmd": [
  89. "@php artisan vendor:publish --tag=laravel-assets --ansi --force",
  90. "@php artisan boost:update --ansi"
  91. ],
  92. "post-root-package-install": [
  93. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  94. ],
  95. "post-create-project-cmd": [
  96. "@php artisan key:generate --ansi",
  97. "@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
  98. "@php artisan migrate --graceful --ansi"
  99. ],
  100. "pre-package-uninstall": [
  101. "Illuminate\\Foundation\\ComposerScripts::prePackageUninstall"
  102. ]
  103. },
  104. "extra": {
  105. "laravel": {
  106. "dont-discover": []
  107. }
  108. },
  109. "config": {
  110. "optimize-autoloader": true,
  111. "preferred-install": "dist",
  112. "sort-packages": true,
  113. "allow-plugins": {
  114. "pestphp/pest-plugin": true,
  115. "php-http/discovery": true
  116. }
  117. },
  118. "minimum-stability": "stable"
  119. }