Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update project metadata.

  • Loading branch information...
commit 269c28abc79c49ae971051712b6b9d4f227ccdaa 1 parent 190d2cd
@jaredhanson authored
Showing with 29 additions and 20 deletions.
  1. +1 −1  LICENSE
  2. +17 −12 Makefile
  3. +11 −7 package.json
View
2  LICENSE
@@ -1,6 +1,6 @@
(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
this software and associated documentation files (the "Software"), to deal in
View
29 Makefile
@@ -1,19 +1,24 @@
-NODE = node
-TEST = ./node_modules/.bin/vows
+SOURCES = lib/**/*.js
+
+# ==============================================================================
+# Node Tests
+# ==============================================================================
+
+VOWS = ./node_modules/.bin/vows
TESTS ?= test/*-test.js test/**/*-test.js test/context/http/*-test.js
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
- dox \
- --title Passport \
- --desc "Authentication framework for Connect and Express" \
- $(shell find lib/passport/* -type f) > $@
+hint: lint
+lint:
+ $(JSHINT) $(SOURCES)
-docclean:
- rm -f docs/*.{1,html}
-.PHONY: test docs docclean
+.PHONY: test hint lint
View
18 package.json
@@ -2,7 +2,7 @@
"name": "passport",
"version": "0.1.15",
"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/",
"repository": {
"type": "git",
@@ -11,6 +11,15 @@
"bugs": {
"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",
"dependencies": {
"pkginfo": "0.2.x"
@@ -21,10 +30,5 @@
"scripts": {
"test": "NODE_PATH=lib node_modules/.bin/vows test/*-test.js test/**/*-test.js test/context/http/*-test.js"
},
- "engines": { "node": ">= 0.4.0" },
- "licenses": [ {
- "type": "MIT",
- "url": "http://www.opensource.org/licenses/MIT"
- } ],
- "keywords": ["express", "connect", "auth", "authn", "authentication"]
+ "engines": { "node": ">= 0.4.0" }
}
Please sign in to comment.
Something went wrong with that request. Please try again.