UNPKG

@southlane/cognito-jwt-verifier

Version:

Decode and verify JWT tokens issued by AWS Cognito.

74 lines (73 loc) 1.97 kB
{ "name": "@southlane/cognito-jwt-verifier", "version": "0.1.8", "description": "Decode and verify JWT tokens issued by AWS Cognito.", "keywords": [ "aws", "amazon", "cognito", "jwt", "jwks", "access_token", "access token", "id_token", "id token", "decode", "verify", "validate" ], "main": "index.js", "scripts": { "test": "mocha --config tests/.mocharc.yml", "test-coverage": "nyc --reporter=html mocha --config tests/.mocharc.yml", "format": "prettier --write '**/*.{js,css,json,md}'", "lint:js": "eslint \"**/*.{js,jsx,}\"", "lint:markdown": "markdownlint *.md", "lint:spellcheck": "cspell --config=.cspell.json **/*.md", "lint": "run-p lint:*", "audit-security": "audit-ci --config ./audit-ci.json", "check-language": "write-good *.md --no-passive", "publish-package": "git push --tags && npm publish --access public" }, "files": [ "src/**/*.js" ], "repository": { "type": "git", "url": "https://github.com/maximivanov/cognito-jwt-verifier" }, "author": "Max Ivanov", "license": "MIT", "bugs": { "url": "https://github.com/maximivanov/cognito-jwt-verifier/issues" }, "homepage": "https://github.com/maximivanov/cognito-jwt-verifier#readme", "dependencies": { "jose": "^1.28.0" }, "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "devDependencies": { "@commitlint/cli": "^11.0.0", "@commitlint/config-conventional": "^11.0.0", "audit-ci": "^3.1.1", "chai": "^4.2.0", "cspell": "^4.1.2", "eslint": "^7.12.1", "eslint-config-prettier": "^6.15.0", "eslint-plugin-prettier": "^3.1.4", "husky": "^4.3.0", "markdownlint-cli": "^0.24.0", "mocha": "^8.2.0", "mock-req": "^0.2.0", "mock-res": "^0.5.0", "npm-run-all": "^4.1.5", "nyc": "^15.1.0", "prettier": "^2.1.2", "sinon": "^9.2.1", "write-good": "^1.0.3" } }