Revert composer setup removal

This commit is contained in:
Dane Everitt 2017-04-14 17:37:30 -04:00
parent 9c3c1f8863
commit 8b9ffa0131
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 6 additions and 7 deletions

View file

@ -62,12 +62,6 @@
"php -r \"!file_exists('bootstrap/cache/services.php') || @unlink('bootstrap/cache/services.php');\"",
"php -r \"!file_exists('bootstrap/cache/compiled.php') || @unlink('bootstrap/cache/compiled.php');\""
],
"post-root-package-install": [
"php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"php artisan key:generate"
],
"post-install-cmd": [
"Illuminate\\Foundation\\ComposerScripts::postInstall",
"php artisan optimize",
@ -77,6 +71,11 @@
"Illuminate\\Foundation\\ComposerScripts::postUpdate",
"php artisan optimize",
"php artisan config:cache"
],
"setup": [
"composer install --no-dev",
"php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
"php artisan key:generate"
]
},
"prefer-stable": true,