From 431f2ea0d99b04c67aac0ea68a9f2b77bdfe8c1f Mon Sep 17 00:00:00 2001 From: Jared Hanson Date: Sun, 4 Mar 2012 22:18:42 -0800 Subject: [PATCH] Update package metadata. --- .travis.yml | 4 ++++ Makefile | 2 +- README.md | 11 +++++++++-- package.json | 20 +++++++++++++++++--- 4 files changed, 31 insertions(+), 6 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..2644170 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +language: "node_js" +node_js: + - 0.4 + - 0.6 diff --git a/Makefile b/Makefile index 40a5c72..ebb6e31 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ NODE = node -TEST = vows +TEST = ./node_modules/.bin/vows TESTS ?= test/*-test.js test: diff --git a/README.md b/README.md index 7b556a7..cb21909 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Passport-Twitter [Passport](https://github.com/jaredhanson/passport) strategy for authenticating -with Twitter using the OAuth 1.0a API. +with [Twitter](http://twitter.com/) using the OAuth 1.0a API. ## Installation @@ -50,10 +50,17 @@ application: res.redirect('/'); }); -#### Examples +## Examples For a complete, working example, refer to the [signin example](https://github.com/jaredhanson/passport-twitter/tree/master/examples/signin). +## Tests + + $ npm install --dev + $ make test + +[![Build Status](https://secure.travis-ci.org/jaredhanson/passport-twitter.png)](http://travis-ci.org/jaredhanson/passport-twitter) + ## Credits - [Jared Hanson](http://github.com/jaredhanson) diff --git a/package.json b/package.json index 97dfcd2..f00d11b 100644 --- a/package.json +++ b/package.json @@ -2,15 +2,29 @@ "name": "passport-twitter", "version": "0.1.0", "description": "Twitter authentication strategy for Passport.", - "author": "Jared Hanson (http://www.jaredhanson.net/)", + "author": { "name": "Jared Hanson", "email": "jaredhanson@gmail.com", "url": "http://www.jaredhanson.net/" }, "repository": { "type": "git", - "url": "http://github.com/jaredhanson/passport-twitter.git" + "url": "git://github.com/jaredhanson/passport-twitter.git" + }, + "bugs": { + "url": "http://github.com/jaredhanson/passport-twitter/issues" }, "main": "./lib/passport-twitter", "dependencies": { - "passport-oauth": ">= 0.1.0" + "pkginfo": "0.2.x", + "passport-oauth": "0.1.x" + }, + "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", "twitter", "auth", "authn", "authentication", "identity"] }