npm package support
authorDarren <darren@darrenwhitlen.com>
Thu, 29 Nov 2012 08:05:28 +0000 (08:05 +0000)
committerDarren <darren@darrenwhitlen.com>
Thu, 29 Nov 2012 08:05:28 +0000 (08:05 +0000)
kiwi
package.json

diff --git a/kiwi b/kiwi
index 265025234255e7f7ad0504355ccbea97bd331d5c..3bc25b8c9230289203631fa46f30213d192cf7c9 100755 (executable)
--- a/kiwi
+++ b/kiwi
@@ -5,7 +5,7 @@ case `uname` in
     *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
 esac
 
-node server/server.js $@
+node $basedir/server/server.js $@
 ret=$?
 
 exit $ret
index 431e742c9dd74df20810e59cc74529d549c8cb01..4a9367b4a29abc46432a31124e8de79fc29010f8 100644 (file)
@@ -1,6 +1,14 @@
 {\r
-  "name": "KiwiIRC",\r
-  "version": "0.5.2",\r
+  "name": "kiwiirc",\r
+  "version": "0.5.3",\r
+  "description": "A hand-crafted webirc server",\r
+  "homepage": "http://www.kiwiirc.com/",\r
+  "preferGlobal": "true",\r
+  "bin": { "kiwiirc": "./kiwi" },\r
+  "repository" : {\r
+        "type": "git",\r
+        "url": "https://github.com/prawnsalad/KiwiIRC.git"\r
+    },\r
   "scripts": {\r
     "postinstall": "node client/assets/dev/build.js"\r
   },\r