summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Fridman <fridman@mail.sfsu.edu>2015-04-15 13:47:39 -0400
committerSean Fridman <fridman@mail.sfsu.edu>2015-04-15 13:48:59 -0400
commit16e63ae2965f403a776de4a799446b0afa03dc1c (patch)
treeeb1956642ca967b5ec313d19a741c3b78c1fcfa9
parent44631b9da9cfa363f74eeda6a237c941fb86eb6a (diff)
Fix top level npm installs
-rw-r--r--Readme.md2
-rw-r--r--package.json1
2 files changed, 2 insertions, 1 deletions
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",