Added post create-project command to generate key.

This commit is contained in:
Taylor Otwell 2013-06-09 20:24:38 -05:00
parent b7c147c77a
commit f583a9d23f
1 changed files with 6 additions and 3 deletions

View File

@ -16,14 +16,17 @@
] ]
}, },
"scripts": { "scripts": {
"pre-update-cmd": [
"php artisan clear-compiled"
],
"post-install-cmd": [ "post-install-cmd": [
"php artisan optimize" "php artisan optimize"
], ],
"pre-update-cmd": [
"php artisan clear-compiled"
],
"post-update-cmd": [ "post-update-cmd": [
"php artisan optimize" "php artisan optimize"
],
"post-create-project-cmd": [
"php artisan key:generate"
] ]
}, },
"config": { "config": {