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",