Permalink
Browse files

Added startup script for npm

  • Loading branch information...
1 parent 1752ee2 commit 5432084bdbb84850a2e7eb9403592c1deecfa241 @kriszyp committed May 13, 2010
Showing with 6 additions and 1 deletion.
  1. +4 −0 cli.js
  2. +2 −1 package.json
View
4 cli.js
@@ -0,0 +1,4 @@
+#!/usr/bin/env node
+
+// just starts nodules
+require("./lib/nodules").useLocal().runAsMain(process.argv[2]);
View
@@ -13,8 +13,9 @@
"githubName": "nodules",
"type": "zip",
"main":"./lib/nodules",
+ "version":"0.1.0",
"bin" : {
- "nodules" : "./lib/nodules"
+ "nodules" : "./cli.js"
},
"location": "http://github.com/kriszyp/nodules/zipball/master"
}

0 comments on commit 5432084

Please sign in to comment.