Updated composer scripts

This commit is contained in:
Graham Campbell 2015-12-24 15:50:28 +00:00
parent 3fdf5dc5f7
commit cfbf1945dd

View File

@ -63,30 +63,28 @@
}
},
"scripts": {
"pre-install-cmd": [
"rm -f compiled.php config.php routes.php services.json"
"post-root-package-install": [
"php -r \"copy('.env.example', '.env');\"",
"php artisan key:generate"
],
"post-create-project-cmd": [
"php artisan key:generate"
],
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize --force",
"php artisan config:cache",
"php artisan route:cache",
"chmod -R 755 storage"
],
"pre-update-cmd": [
"rm -f compiled.php config.php routes.php services.json"
"php artisan clear-compiled"
],
"post-update-cmd": [
"php artisan optimize --force",
"php artisan config:cache",
"php artisan route:cache",
"chmod -R 755 storage"
],
"post-create-project-cmd": [
"php -r \"copy('.env.example', '.env');\"",
"php artisan key:generate"
],
"test": [
"phpunit"
]
},
"config": {