Skip to content

Commit

Permalink
add minimal post install and update steps
Browse files Browse the repository at this point in the history
  • Loading branch information
mollux committed Oct 27, 2023
1 parent f07f947 commit 70eef62
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,21 @@
"MauticPlugin\\": "docroot/plugins/"
}
},
"scripts": {
"post-install-cmd": [
"@npm-ci",
"@npx-patch-package",
"@generate-assets"
],
"post-update-cmd": [
"@npm-ci",
"@npx-patch-package",
"@generate-assets"
],
"npm-ci": "npm ci --prefer-offline --no-audit",
"npx-patch-package": "npx patch-package",
"generate-assets": "php bin/console mautic:assets:generate"
},
"extra": {
"mautic-scaffold": {
"locations": {
Expand Down

0 comments on commit 70eef62

Please sign in to comment.