diff --git a/composer.json b/composer.json index d546c32..0b9816a 100644 --- a/composer.json +++ b/composer.json @@ -46,14 +46,16 @@ "scripts": { "build:dev": [ "composer install", - "@artisan:build", "@php artisan migrate:fresh --seed", "@assets:build" ], "build:prod": [ "composer install --no-interaction --prefer-dist --optimize-autoloader", - "@artisan:build", + "@php artisan horizon:terminate", + "@php artisan queue:restart", "@php artisan migrate --force", + "@php artisan optimize:clear", + "@php artisan optimize", "@assets:build" ], "build:test": [ @@ -74,11 +76,6 @@ "test:mutations": [ "XDEBUG_MODE=coverage ./vendor/bin/pest --mutate" ], - "artisan:build": [ - "@php artisan horizon:terminate", - "@php artisan cache:clear", - "@php artisan queue:restart" - ], "assets:build": [ "bun install", "bun run build"