UNPKG

jaunty

Version:

A simple, all-in-one, lightweight JWT authentication and authorization middleware for express.

93 lines (92 loc) 2.51 kB
{ "name": "jaunty", "version": "1.2.2", "description": "A simple, all-in-one, lightweight JWT authentication and authorization middleware for express.", "main": "lib/index.js", "files": [ "lib" ], "scripts": { "test:unit": "NODE_ENV=test nyc tape '__tests__/unit/**/*.specs.js' | tap-nyc", "test:integration": "NODE_ENV=test tape '__tests__/integration/**/*.specs.js' | tap-spec", "pretest": "npm i express jsonwebtoken && xo", "test": "npm run test:unit && npm run test:integration", "changelog": "auto-changelog -p", "postchangelog": "git add CHANGELOG.md && git commit -m \"chore(changelog): update the changelog\"" }, "repository": { "type": "git", "url": "git+https://github.com/labsvisual/jaunty.git" }, "keywords": [ "jwt", "auth", "authen", "authorization", "authz", "express", "framework", "passport", "oauth", "json", "token" ], "author": "Shreyansh Pandey <s@isomr.co>", "license": "MIT", "bugs": { "url": "https://github.com/labsvisual/jaunty/issues" }, "homepage": "https://github.com/labsvisual/jaunty#readme", "xo": { "esnext": true, "semicolon": true, "space": 4, "rules": { "space-in-parens": [ "error", "always" ], "padded-blocks": [ "error", "always" ], "array-bracket-spacing": [ "error", "always" ], "object-curly-spacing": [ "error", "always" ], "template-curly-spacing": [ "error", "always" ], "computed-property-spacing": [ "error", "always" ], "func-names": [ "error", "always" ] } }, "devDependencies": { "auto-changelog": "^1.14.1", "nyc": "^14.1.1", "sinon": "^7.3.2", "supertest": "^4.0.2", "tap-nyc": "^1.0.3", "tap-spec": "^5.0.0", "tape": "^4.11.0", "xo": "^0.24.0" }, "peerDependencies": { "jsonwebtoken": "^8.5.1", "express": "^4.17.1" }, "dependencies": { "express-unless": "^0.5.0" } }