UNPKG

@krypton-org/krypton-auth

Version:

Express authentication middleware, using GraphQL and JSON Web Tokens.

105 lines (104 loc) 3.02 kB
{ "name": "@krypton-org/krypton-auth", "version": "1.3.2", "description": "Express authentication middleware, using GraphQL and JSON Web Tokens.", "main": "lib/index.js", "types": "lib/index.d.ts", "dependencies": { "accepts": "^1.3.7", "agenda": "^3.1.0", "body-parser": "^1.19.0", "cookie": "^0.4.0", "cookie-parser": "^1.4.4", "ejs": "^2.7.4", "express-graphql": "^0.9.0", "graphql": "^14.5.8", "graphql-compose": "^7.9.0", "graphql-compose-mongoose": "^7.3.3", "helmet": "^3.21.2", "jsonwebtoken": "^8.5.1", "mongoose": "^5.9.1", "nodemailer": "^6.4.2", "pem-jwk": "^2.0.0", "socket.io": "^2.3.0", "url-parse": "^1.4.7" }, "devDependencies": { "@types/accepts": "^1.3.5", "@types/agenda": "^2.0.6", "@types/express": "^4.17.2", "@types/express-graphql": "^0.9.0", "@types/express-serve-static-core": "^4.17.2", "@types/graphql": "^14.5.0", "@types/jest": "^24.9.0", "@types/jsonwebtoken": "^8.3.7", "@types/mongoose": "^5.5.43", "@types/node": "^13.1.8", "@types/nodemailer": "^6.4.0", "@types/socket.io": "^2.1.4", "cors": "^2.8.5", "coveralls": "^3.0.9", "express": "^4.17.1", "express-jwt": "^5.3.3", "jest": "^24.9.0", "jwks-rsa": "^1.8.0", "nodemon": "^2.0.2", "prettier": "^1.19.1", "supertest": "^3.3.0", "ts-jest": "^24.3.0", "ts-loader": "^6.2.1", "tsc-watch": "^4.1.0", "tslint": "^5.20.1", "tslint-config-prettier": "^1.18.0", "typescript": "^3.7.5", "webpack": "^4.41.5", "webpack-cli": "^3.3.10", "webpack-node-externals": "^1.7.2" }, "scripts": { "coverage": "jest --config jest.config.json --coverage --forceExit", "test": "jest --config jest.config.json --forceExit", "start": "npm run demo", "build": "tsc && rm -Rf ./lib/templates && cp -r ./src/templates ./lib/templates", "format": "prettier --write \"src/**/*.ts\" \"src/**/*.js\"", "lint": "tslint -p tsconfig.json", "watch": "tsc-watch --onSuccess \"rm -Rf ./lib/templates && cp -r ./src/templates ./lib/templates\"", "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", "version": "npm run format && git add -A src", "postversion": "git push && git push --tags", "demo": "npm run build && tsc --esModuleInterop jam/bon.ts && node jam/bon.js" }, "repository": { "type": "git", "url": "git+https://github.com/krypton-org/krypton-auth.git" }, "keywords": [ "NodeJS", "user", "space", "userspace", "GraphQL", "graph", "ql", "authentication", "registration", "login", "backend", "back-end", "access", "control", "JsonWebToken", "jwt", "stateless" ], "files": [ "lib/**/*" ], "license": "MIT", "bugs": { "url": "https://github.com/krypton-org/krypton-auth/issues" }, "homepage": "https://github.com/krypton-org/krypton-auth#readme" }