From 142a2b73414e6b7b612a6a82e925de99b72e3a62 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Tue, 3 Oct 2017 17:27:03 +0100 Subject: [PATCH] build(aio): ensure webdriver is updated when switching between local and npm deps (#19511) PR Close #19511 --- aio/tools/examples/shared/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aio/tools/examples/shared/package.json b/aio/tools/examples/shared/package.json index 24f7f77253..0d68419a22 100644 --- a/aio/tools/examples/shared/package.json +++ b/aio/tools/examples/shared/package.json @@ -6,7 +6,8 @@ "scripts": { "http-server": "http-server", "protractor": "protractor", - "webdriver:update": "webdriver-manager update --standalone false --gecko false" + "webdriver:update": "webdriver-manager update --standalone false --gecko false", + "postinstall": "yarn webdriver:update" }, "keywords": [], "author": "",