From c9f76fc1a17e3865c6645f2813a11fc2ddc19572 Mon Sep 17 00:00:00 2001 From: Jonathan Hedstrom Date: Tue, 7 Nov 2017 14:11:23 -0800 Subject: [PATCH] Switches to phantomjs instead of zombie. - Fixes #116 --- generators/app/templates/drupal/drupal/8.x/composer.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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": {