Tweak composer commands. Closes #1954.

This commit is contained in:
Taylor Otwell 2013-05-04 19:29:52 -05:00
parent 07a5edb9db
commit e12830534e
1 changed files with 6 additions and 0 deletions

View File

@ -13,9 +13,15 @@
]
},
"scripts": {
"pre-install-cmd": [
"php artisan clear-compiled"
],
"pre-update-cmd": [
"php artisan clear-compiled"
],
"post-install-cmd": [
"php artisan optimize"
],
"post-update-cmd": [
"php artisan optimize"
]