diff --git a/generators/app/templates/drupal/drupal/8.x/composer.json b/generators/app/templates/drupal/drupal/8.x/composer.json index 12fb3da..ab44671 100644 --- a/generators/app/templates/drupal/drupal/8.x/composer.json +++ b/generators/app/templates/drupal/drupal/8.x/composer.json @@ -16,9 +16,9 @@ }, "require-dev": { "behat/mink": "~1.7", - "behat/mink-zombie-driver": "~1.2", "behat/mink-goutte-driver": "~1.2", "drupal/drupal-extension": "~3.0", + "jakoch/phantomjs-installer": "^2.1", "jcalderonzumba/gastonjs": "~1.0.2", "jcalderonzumba/mink-phantomjs-driver": "~0.3.1", "mikey179/vfsstream": "~1.2", @@ -38,7 +38,9 @@ "sort-packages": true }, "scripts": { - "drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold" + "drupal-scaffold": "DrupalComposer\\DrupalScaffold\\Plugin::scaffold", + "post-install-cmd": "PhantomInstaller\\Installer::installPhantomJS", + "post-update-cmd": "PhantomInstaller\\Installer::installPhantomJS" }, "extra": { "installer-paths": {