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,

2
composer.lock generated
View file

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"hash": "4f465e3103cea2f1d5495e2c06ac1d58",
"hash": "df3cc5312acd808f26f5a6117de4506a",
"content-hash": "071f2fce48f27388231da47a740ceb2a",
"packages": [
{