Skip to content

Commit

Permalink
Update project metadata.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhanson committed Feb 12, 2013
1 parent 190d2cd commit 269c28a
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 20 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
(The MIT License) (The MIT License)


Copyright (c) 2011 Jared Hanson Copyright (c) 2011-2013 Jared Hanson


Permission is hereby granted, free of charge, to any person obtaining a copy of Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in this software and associated documentation files (the "Software"), to deal in
Expand Down
29 changes: 17 additions & 12 deletions Makefile
Original file line number Original file line Diff line number Diff line change
@@ -1,19 +1,24 @@
NODE = node SOURCES = lib/**/*.js
TEST = ./node_modules/.bin/vows
# ==============================================================================
# Node Tests
# ==============================================================================

VOWS = ./node_modules/.bin/vows
TESTS ?= test/*-test.js test/**/*-test.js test/context/http/*-test.js TESTS ?= test/*-test.js test/**/*-test.js test/context/http/*-test.js


test: test:
@NODE_ENV=test NODE_PATH=lib $(TEST) $(TEST_FLAGS) $(TESTS) @NODE_ENV=test NODE_PATH=lib $(VOWS) $(TESTS)

# ==============================================================================
# Static Analysis
# ==============================================================================


docs: docs/api.html JSHINT = jshint


docs/api.html: lib/passport/*.js hint: lint
dox \ lint:
--title Passport \ $(JSHINT) $(SOURCES)
--desc "Authentication framework for Connect and Express" \
$(shell find lib/passport/* -type f) > $@


docclean:
rm -f docs/*.{1,html}


.PHONY: test docs docclean .PHONY: test hint lint
18 changes: 11 additions & 7 deletions package.json
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "passport", "name": "passport",
"version": "0.1.15", "version": "0.1.15",
"description": "Simple, unobtrusive authentication for Node.js.", "description": "Simple, unobtrusive authentication for Node.js.",
"author": { "name": "Jared Hanson", "email": "jaredhanson@gmail.com", "url": "http://www.jaredhanson.net/" }, "keywords": ["express", "connect", "auth", "authn", "authentication"],
"homepage": "http://passportjs.org/", "homepage": "http://passportjs.org/",
"repository": { "repository": {
"type": "git", "type": "git",
Expand All @@ -11,6 +11,15 @@
"bugs": { "bugs": {
"url": "http://github.com/jaredhanson/passport/issues" "url": "http://github.com/jaredhanson/passport/issues"
}, },
"author": {
"name": "Jared Hanson",
"email": "jaredhanson@gmail.com",
"url": "http://www.jaredhanson.net/"
},
"licenses": [ {
"type": "MIT",
"url": "http://www.opensource.org/licenses/MIT"
} ],
"main": "./lib/passport", "main": "./lib/passport",
"dependencies": { "dependencies": {
"pkginfo": "0.2.x" "pkginfo": "0.2.x"
Expand All @@ -21,10 +30,5 @@
"scripts": { "scripts": {
"test": "NODE_PATH=lib node_modules/.bin/vows test/*-test.js test/**/*-test.js test/context/http/*-test.js" "test": "NODE_PATH=lib node_modules/.bin/vows test/*-test.js test/**/*-test.js test/context/http/*-test.js"
}, },
"engines": { "node": ">= 0.4.0" }, "engines": { "node": ">= 0.4.0" }
"licenses": [ {
"type": "MIT",
"url": "http://www.opensource.org/licenses/MIT"
} ],
"keywords": ["express", "connect", "auth", "authn", "authentication"]
} }

0 comments on commit 269c28a

Please sign in to comment.