composer.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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.382",
  14. "casbin/casbin": "^4.2",
  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.1",
  20. "laravel/framework": "^13.0",
  21. "laravel/tinker": "^3.0",
  22. "laravel/wayfinder": "^0.1.14",
  23. "league/flysystem-aws-s3-v3": "^3.34",
  24. "mustache/mustache": "^3.2",
  25. "opensearch-project/opensearch-php": "^2.6",
  26. "php-amqplib/php-amqplib": "^3.7",
  27. "php-ffmpeg/php-ffmpeg": "^1.4",
  28. "phpoffice/phpspreadsheet": "^5.7",
  29. "predis/predis": "^3.4"
  30. },
  31. "require-dev": {
  32. "fakerphp/faker": "^1.24",
  33. "laravel/boost": "^2.2",
  34. "laravel/pail": "^1.2.5",
  35. "laravel/pint": "^1.27",
  36. "laravel/sail": "^1.53",
  37. "mockery/mockery": "^1.6",
  38. "nunomaduro/collision": "^8.9",
  39. "pestphp/pest": "^4.6",
  40. "pestphp/pest-plugin-laravel": "^4.1"
  41. },
  42. "autoload": {
  43. "psr-4": {
  44. "App\\": "app/",
  45. "Database\\Factories\\": "database/factories/",
  46. "Database\\Seeders\\": "database/seeders/"
  47. }
  48. },
  49. "autoload-dev": {
  50. "psr-4": {
  51. "Tests\\": "tests/"
  52. }
  53. },
  54. "scripts": {
  55. "setup": [
  56. "composer install",
  57. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
  58. "@php artisan key:generate",
  59. "@php artisan migrate --force",
  60. "npm install",
  61. "npm run build"
  62. ],
  63. "dev": [
  64. "Composer\\Config::disableProcessTimeout",
  65. "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"
  66. ],
  67. "lint": [
  68. "pint --parallel"
  69. ],
  70. "lint:check": [
  71. "pint --parallel --test"
  72. ],
  73. "ci:check": [
  74. "Composer\\Config::disableProcessTimeout",
  75. "npm run lint:check",
  76. "npm run format:check",
  77. "npm run types:check",
  78. "@test"
  79. ],
  80. "test": [
  81. "@php artisan config:clear --ansi",
  82. "@lint:check",
  83. "@php artisan test"
  84. ],
  85. "post-autoload-dump": [
  86. "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
  87. "@php artisan package:discover --ansi"
  88. ],
  89. "post-update-cmd": [
  90. "@php artisan vendor:publish --tag=laravel-assets --ansi --force",
  91. "@php artisan boost:update --ansi"
  92. ],
  93. "post-root-package-install": [
  94. "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
  95. ],
  96. "post-create-project-cmd": [
  97. "@php artisan key:generate --ansi",
  98. "@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
  99. "@php artisan migrate --graceful --ansi"
  100. ],
  101. "pre-package-uninstall": [
  102. "Illuminate\\Foundation\\ComposerScripts::prePackageUninstall"
  103. ]
  104. },
  105. "extra": {
  106. "laravel": {
  107. "dont-discover": []
  108. }
  109. },
  110. "config": {
  111. "optimize-autoloader": true,
  112. "preferred-install": "dist",
  113. "sort-packages": true,
  114. "allow-plugins": {
  115. "pestphp/pest-plugin": true,
  116. "php-http/discovery": true
  117. }
  118. },
  119. "minimum-stability": "stable"
  120. }