From bd4a7dd9d8e6e94bf9ccb1411be01964d44f7f95 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 1 Oct 2025 16:12:15 +0100 Subject: [PATCH] reorder composer scripts --- composer.json | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/composer.json b/composer.json index 2499a44e..cb19377f 100644 --- a/composer.json +++ b/composer.json @@ -32,6 +32,22 @@ } }, "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,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite --kill-others" + ], + "test": [ + "@php artisan config:clear --ansi", + "@php artisan test" + ], "post-autoload-dump": [ "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", "@php artisan package:discover --ansi" @@ -49,22 +65,6 @@ ], "pre-package-uninstall": [ "Illuminate\\Foundation\\ComposerScripts::prePackageUninstall" - ], - "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,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite --kill-others" - ], - "test": [ - "@php artisan config:clear --ansi", - "@php artisan test" ] }, "extra": {