Skip to content

Commit e2f9fd5

Browse files
committed
add post-install-cmd & post-update-cmd to composer.json
1 parent d2cd988 commit e2f9fd5

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

composer.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,19 @@
4444
}
4545
},
4646
"bin": ["bin/debug"],
47+
"scripts": {
48+
"post-install-cmd": [
49+
"php artisan vendor:publish --tag=lfm_config",
50+
"php artisan vendor:publish --tag=lfm_public",
51+
"php artisan route:clear",
52+
"php aritsan config:clear"
53+
],
54+
"post-update-cmd": [
55+
"php artisan vendor:publish --tag=lfm_public --force",
56+
"php artisan route:clear",
57+
"php aritsan config:clear"
58+
]
59+
},
4760
"extra": {
4861
"laravel": {
4962
"providers": [

0 commit comments

Comments
 (0)