From 41e65589c5c489bc2c5caa4b9a36e1109376d4b4 Mon Sep 17 00:00:00 2001 From: Shahar Talmi Date: Sun, 29 Sep 2013 10:59:52 +0300 Subject: [PATCH] say my name! --- bin/servus | 2 +- package.json | 11 ++++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/bin/servus b/bin/servus index 0bbc5b8..f2b91e4 100755 --- a/bin/servus +++ b/bin/servus @@ -45,7 +45,7 @@ if (options.help) { chalk.red('Read more at: ')+chalk.magenta('https://github.com/shahata/servus')+'\n'); } else if (options.version) { var pkg = require('../package.json'); - console.log(chalk.yellow.bold(pkg.name)+' '+chalk.cyan(pkg.version)+' by '+chalk.green(pkg.author)); + console.log(chalk.yellow.bold(pkg.name)+' '+chalk.cyan(pkg.version)+' by '+chalk.green(pkg.author.name)); console.log(chalk.red('Read more at: ')+chalk.magenta('https://github.com/shahata/servus')); } else if (options.init) { var filename = 'servus.conf.js'; diff --git a/package.json b/package.json index 1980c1e..e1735ec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "servus", - "version": "0.0.8", + "version": "0.0.9", "description": "Connect based web server & reverse proxy", "main": "lib", "scripts": { @@ -9,9 +9,14 @@ "bin": { "servus": "bin/servus" }, - "repository": "git@github.com:shahata/servus.git", + "repository": { + "type": "git", + "url": "git@github.com:shahata/servus.git" + }, "preferGlobal": true, - "author": "Shahar Talmi", + "author": { + "name": "Shahar Talmi" + }, "license": "BSD", "dependencies": { "connect": "~2.9.0",