From c7c5d8b6fe742a4afc631e1d6499b8573ee4cf5e Mon Sep 17 00:00:00 2001
From: bclayton-usgs <bclayton@usgs.gov>
Date: Wed, 26 Aug 2020 14:14:00 -0600
Subject: [PATCH] add postinstall

---
 package.json | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package.json b/package.json
index ca13cbe..24682f0 100644
--- a/package.json
+++ b/package.json
@@ -10,7 +10,8 @@
     "pre-push": "npm run pre-commit",
     "tslint": "tslint -c tslint.json 'types/**/*.d.ts' 'src/**/*.d.ts'",
     "tslint:fix": "npm run tslint -- --fix",
-    "test": "echo \"Error: no test specified\" && exit 1"
+    "test": "echo \"Error: no test specified\" && exit 1",
+    "postinstall": "cd example && npm i"
   },
   "repository": {
     "type": "git",
-- 
GitLab