Skip to content

Commit fa56165

Browse files
committed
Fix composer scripts
1 parent 30d9d82 commit fa56165

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

composer.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -38,22 +38,21 @@
3838
]
3939
},
4040
"scripts": {
41+
"post-root-package-install": [
42+
"php -r \"copy('.env.example', '.env');\""
43+
],
44+
"post-create-project-cmd": [
45+
"php artisan key:generate"
46+
],
4147
"post-install-cmd": [
4248
"php artisan clear-compiled",
4349
"php artisan optimize"
4450
],
45-
"post-autoload-dump": [
46-
"php artisan clear-compiled",
47-
"php artisan optimize"
51+
"pre-update-cmd": [
52+
"php artisan clear-compiled"
4853
],
4954
"post-update-cmd": [
5055
"php artisan optimize"
51-
],
52-
"post-root-package-install": [
53-
"php -r \"copy('.env.example', '.env');\""
54-
],
55-
"post-create-project-cmd": [
56-
"php artisan key:generate"
5756
]
5857
},
5958
"config": {

0 commit comments

Comments
 (0)