diff --git a/package.json b/package.json
index ca13cbe110b558113d89b5c4170a915f4e448082..24682f0a2b165fdd4aa046ae40e6fda558f6ee36 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",