From 619cc92c4c5d8da66cd1401c0b17b2855816915c Mon Sep 17 00:00:00 2001 From: Jared Hanson Date: Mon, 27 Feb 2012 21:28:10 -0800 Subject: [PATCH] Update package metadata. --- Makefile | 4 ++-- README.md | 9 ++++++++- package.json | 22 ++++++++++++++++++---- 3 files changed, 28 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index fc52ebe..ddaeb4d 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ NODE = node -TEST = vows +TEST = ./node_modules/.bin/vows TESTS ?= test/*-test.js test: @@ -10,7 +10,7 @@ docs: docs/api.html docs/api.html: lib/passport-yahoo/*.js dox \ --title Passport-Yahoo \ - --desc "Yahoo authentication strategy for Passport" \ + --desc "Yahoo! (OpenID) authentication strategy for Passport" \ $(shell find lib/passport-yahoo/* -type f) > $@ docclean: diff --git a/README.md b/README.md index a20bfeb..df72fd6 100644 --- a/README.md +++ b/README.md @@ -49,10 +49,17 @@ application: res.redirect('/'); }); -#### Examples +## Examples For a complete, working example, refer to the [signon example](https://github.com/jaredhanson/passport-yahoo/tree/master/examples/signon). +## Tests + + $ npm install --dev + $ make test + +[![Build Status](https://secure.travis-ci.org/jaredhanson/passport-yahoo.png)](http://travis-ci.org/jaredhanson/passport-yahoo) + ## Credits - [Jared Hanson](http://github.com/jaredhanson) diff --git a/package.json b/package.json index 1c93907..9afaf4b 100644 --- a/package.json +++ b/package.json @@ -1,16 +1,30 @@ { "name": "passport-yahoo", "version": "0.1.0", - "description": "Yahoo! authentication strategy for Passport.", - "author": "Jared Hanson (http://www.jaredhanson.net/)", + "description": "Yahoo! (OpenID) authentication strategy for Passport.", + "author": { "name": "Jared Hanson", "email": "jaredhanson@gmail.com", "url": "http://www.jaredhanson.net/" }, "repository": { "type": "git", - "url": "http://github.com/jaredhanson/passport-yahoo.git" + "url": "git://github.com/jaredhanson/passport-yahoo.git" + }, + "bugs": { + "url": "http://github.com/jaredhanson/passport-yahoo/issues" }, "main": "./lib/passport-yahoo", "dependencies": { - "passport-openid": ">= 0.1.1" + "pkginfo": "0.2.x", + "passport-openid": "~0.1.1" + }, + "devDependencies": { + "vows": "0.6.x" + }, + "scripts": { + "test": "NODE_PATH=lib node_modules/.bin/vows test/*-test.js" }, "engines": { "node": ">= 0.4.0" }, + "licenses": [ { + "type": "MIT", + "url": "http://www.opensource.org/licenses/MIT" + } ], "keywords": ["passport", "yahoo", "auth", "authn", "authentication", "identity"] }