| { |
| "$schema": "https://getcomposer.org/schema.json", |
| "name": "laravel/react-starter-kit", |
| "type": "project", |
| "description": "The skeleton application for the Laravel framework.", |
| "keywords": [ |
| "laravel", |
| "framework" |
| ], |
| "license": "MIT", |
| "require": { |
| "php": "^8.3", |
| "inertiajs/inertia-laravel": "^3.0", |
| "laravel/fortify": "^1.34", |
| "laravel/framework": "^13.7", |
| "laravel/tinker": "^3.0", |
| "laravel/wayfinder": "^0.1.14" |
| }, |
| "require-dev": { |
| "fakerphp/faker": "^1.24", |
| "laravel/boost": "^2.2", |
| "laravel/pail": "^1.2.5", |
| "laravel/pao": "^1.0.6", |
| "laravel/pint": "^1.27", |
| "laravel/sail": "^1.53", |
| "mockery/mockery": "^1.6", |
| "nunomaduro/collision": "^8.9.3", |
| "pestphp/pest": "^4.7", |
| "pestphp/pest-plugin-laravel": "^4.1" |
| }, |
| "autoload": { |
| "psr-4": { |
| "App\\": "app/", |
| "Database\\Factories\\": "database/factories/", |
| "Database\\Seeders\\": "database/seeders/" |
| } |
| }, |
| "autoload-dev": { |
| "psr-4": { |
| "Tests\\": "tests/" |
| } |
| }, |
| "scripts": { |
| "setup": [ |
| "composer install", |
| "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"", |
| "@php artisan key:generate", |
| "@php artisan migrate --force", |
| "npm install", |
| "npm run build" |
| ], |
| "dev": [ |
| "Composer\\Config::disableProcessTimeout", |
| "npx concurrently -c \"#93c5fd,#c4b5fd,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"npm run dev\" --names='server,queue,vite'" |
| ], |
| "lint": [ |
| "pint --parallel" |
| ], |
| "lint:check": [ |
| "pint --parallel --test" |
| ], |
| "ci:check": [ |
| "Composer\\Config::disableProcessTimeout", |
| "npm run lint:check", |
| "npm run format:check", |
| "npm run types:check", |
| "@test" |
| ], |
| "test": [ |
| "@php artisan config:clear --ansi", |
| "@lint:check", |
| "@php artisan test" |
| ], |
| "post-autoload-dump": [ |
| "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", |
| "@php artisan package:discover --ansi" |
| ], |
| "post-update-cmd": [ |
| "@php artisan vendor:publish --tag=laravel-assets --ansi --force", |
| "@php artisan boost:update --ansi" |
| ], |
| "post-root-package-install": [ |
| "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" |
| ], |
| "post-create-project-cmd": [ |
| "@php artisan key:generate --ansi", |
| "@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"", |
| "@php artisan migrate --graceful --ansi" |
| ], |
| "pre-package-uninstall": [ |
| "Illuminate\\Foundation\\ComposerScripts::prePackageUninstall" |
| ] |
| }, |
| "extra": { |
| "laravel": { |
| "dont-discover": [] |
| } |
| }, |
| "config": { |
| "optimize-autoloader": true, |
| "preferred-install": "dist", |
| "sort-packages": true, |
| "allow-plugins": { |
| "pestphp/pest-plugin": true, |
| "php-http/discovery": true |
| } |
| }, |
| "minimum-stability": "stable" |
| } |