From 2f4d72699cdc9b7db953055287697a60b6d8b294 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Thu, 1 Jun 2017 11:26:43 -0500 Subject: [PATCH] update composer json --- composer.json | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index a859a260..5368a6d3 100644 --- a/composer.json +++ b/composer.json @@ -28,6 +28,12 @@ "Tests\\": "tests/" } }, + "extra": { + "laravel": { + "dont-discover": [ + ] + } + }, "scripts": { "post-root-package-install": [ "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" @@ -35,13 +41,9 @@ "post-create-project-cmd": [ "@php artisan key:generate" ], - "post-install-cmd": [ - "Illuminate\\Foundation\\ComposerScripts::postInstall", - "@php artisan optimize" - ], - "post-update-cmd": [ - "Illuminate\\Foundation\\ComposerScripts::postUpdate", - "@php artisan optimize" + "post-autoload-dump": [ + "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", + "@php artisan package:discover" ] }, "config": {