From 7b5406aedb1f55adc1cd7b8c05997e7e5e014ad1 Mon Sep 17 00:00:00 2001 From: Darren Date: Thu, 29 Nov 2012 08:05:28 +0000 Subject: [PATCH] npm package support --- kiwi | 2 +- package.json | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/kiwi b/kiwi index 2650252..3bc25b8 100755 --- 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 diff --git a/package.json b/package.json index 431e742..4a9367b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,14 @@ { - "name": "KiwiIRC", - "version": "0.5.2", + "name": "kiwiirc", + "version": "0.5.3", + "description": "A hand-crafted webirc server", + "homepage": "http://www.kiwiirc.com/", + "preferGlobal": "true", + "bin": { "kiwiirc": "./kiwi" }, + "repository" : { + "type": "git", + "url": "https://github.com/prawnsalad/KiwiIRC.git" + }, "scripts": { "postinstall": "node client/assets/dev/build.js" }, -- 2.25.1