composer.json 3.4 KB

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