UNPKG

@perfood/couch-auth

Version:

Easy and secure authentication for CouchDB/Cloudant. Based on SuperLogin, updated and rewritten in Typescript.

106 lines (105 loc) 2.58 kB
{ "name": "@perfood/couch-auth", "version": "0.21.2", "description": "Easy and secure authentication for CouchDB/Cloudant. Based on SuperLogin, updated and rewritten in Typescript.", "main": "./lib/index.js", "files": [ "lib/", "templates/", "config.example.js" ], "repository": { "type": "git", "url": "git+https://github.com/perfood/couch-auth.git" }, "engines": { "node": ">=14.0.0" }, "scripts": { "test": "mocha", "build": "node_modules/typescript/bin/tsc", "lint": "node_modules/typescript/bin/tsc --noEmit && eslint \"**/*.{js,ts}\" --quiet --fix", "prepare": "node_modules/typescript/bin/tsc" }, "keywords": [ "authentication", "login", "PouchDB", "CouchDB", "Cloudant", "passport", "oauth", "Facebook", "Twitter", "Node", "Express" ], "author": "Colin Skow", "maintainers": [ "Fynn Leitow" ], "license": "MIT", "bugs": { "url": "https://github.com/perfood/couch-auth/issues" }, "homepage": "https://github.com/perfood/couch-auth", "dependencies": { "@sl-nx/couch-pwd": "2.0.0", "@sl-nx/sofa-model": "^1.0.3", "@types/express": "^4.17.11", "@types/express-slow-down": "1.3.2", "@types/nodemailer": "^6.4.0", "@types/passport": "^1.0.6", "deepmerge": "^4.2.2", "express": "^4.17.1", "express-slow-down": "1.6.0", "nano": "^10.0.0", "nodemailer": "^6.7.0", "nunjucks": "^3.2.3", "passport": "^0.6.0", "passport-http-bearer-sl": "^1.0.1", "passport-local": "^1.0.0", "urlsafe-base64": "1.0.0", "uuid": "^9.0.0" }, "optionalDependencies": { "nodemailer-stub-transport": "^1.1.0" }, "devDependencies": { "@types/chai": "^4.2.22", "@types/mocha": "^9.0.0", "@types/passport-local": "^1.0.33", "@typescript-eslint/eslint-plugin": "^5.3.0", "@typescript-eslint/parser": "^5.3.0", "body-parser": "^1.19.0", "chai": "^4.3.3", "eslint": "^8.2.0", "eslint-config-prettier": "^8.1.0", "husky": "^8.0.1", "mocha": "^9.1.3", "morgan": "^1.10.0", "prettier": "^2.2.1", "pretty-quick": "^3.1.0", "sinon": "^11.1.2", "sinon-chai": "^3.5.0", "superagent": "^5.3.1", "ts-node": "^10.4.0", "typescript": "^4.8.4" }, "husky": { "hooks": { "pre-commit": "pretty-quick --staged" } }, "eslintConfig": { "parserOptions": { "ecmaVersion": 2020, "sourceType": "module" } }, "types": "./lib/index.d.ts", "directories": { "lib": "lib", "test": "test" } }