From 16e63ae2965f403a776de4a799446b0afa03dc1c Mon Sep 17 00:00:00 2001 From: Sean Fridman Date: Wed, 15 Apr 2015 13:47:39 -0400 Subject: Fix top level npm installs --- Readme.md | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index b9e5b2d..61296e9 100644 --- a/Readme.md +++ b/Readme.md @@ -5,7 +5,7 @@ ## To run: -* cd app/node_modules ; for i in * ; do cd $i ; npm install; cd .. ; done ; cd ../.. +* npm install * cd examples * node index diff --git a/package.json b/package.json index 8748ab9..188005c 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "great", "main": "app/index.js", "scripts": { + "postinstall": "./install.sh", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "OKFocus", -- cgit v1.2.3-70-g09d2