diff --git a/composer.json b/composer.json index 02a5337..8673ef6 100644 --- a/composer.json +++ b/composer.json @@ -35,11 +35,17 @@ "test": [ "TYPO3_PATH_ROOT=web ./vendor/bin/phpunit" ], - "post-install-cmd": [ + "npmInstall": [ "npm install" ], - "post-update-cmd" : [ - "npm install" + "post-install-cmd": [ + "composer npmInstall" + ], + "post-package-install": [ + "composer npmInstall" + ], + "post-package-update" : [ + "composer npmInstall" ] }, "replace": {