diff --git a/composer.json b/composer.json index 3733e97..83c35a5 100644 --- a/composer.json +++ b/composer.json @@ -54,6 +54,10 @@ "minimum-stability": "dev", "prefer-stable": true, "scripts": { + "compile": [ + "npm run prod", + "@php artisan migrate:fresh --seed" + ], "post-autoload-dump": [ "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", "@php artisan package:discover --ansi"