From fa56165df640ec644b863b812f61765dba0c6529 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Mon, 11 Jan 2016 22:14:13 -0500 Subject: [PATCH] Fix composer scripts --- composer.json | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/composer.json b/composer.json index d55c12e02..994a0d2bc 100644 --- a/composer.json +++ b/composer.json @@ -38,22 +38,21 @@ ] }, "scripts": { - "post-install-cmd": [ - "php artisan clear-compiled", - "php artisan optimize" - ], - "post-autoload-dump": [ - "php artisan clear-compiled", - "php artisan optimize" - ], - "post-update-cmd": [ - "php artisan optimize" - ], "post-root-package-install": [ "php -r \"copy('.env.example', '.env');\"" ], "post-create-project-cmd": [ "php artisan key:generate" + ], + "post-install-cmd": [ + "php artisan clear-compiled", + "php artisan optimize" + ], + "pre-update-cmd": [ + "php artisan clear-compiled" + ], + "post-update-cmd": [ + "php artisan optimize" ] }, "config": {