package.json
{
"name": "embassy",
"version": "2.0.4",
"description": "Simple JSON Web Tokens (JWT) with embedded scopes for services",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"engines": {
"node": ">=12"
},
"scripts": {
"prepublish": "npm run build",
"build": "tsc",
"docs": "typedoc --excludePrivate src/index.ts",
"format": "eslint '*/**/*.{js,ts}' --fix; prettier -l --write **/*.{md,json}",
"lint": "eslint '*/**/*.{js,ts}'; prettier -l **/*.{md,json}",
"clean": "rm -rf node_modules coverage dist",
"test": "npm run lint && jest --coverage",
"test:watch": "jest --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/TomFrost/embassy.git"
},
"keywords": [
"JWT",
"jwts",
"bearer",
"token",
"tokens",
"authentication",
"authorization",
"oauth",
"oauth2",
"openid",
"connect",
"scope",
"scopes"
],
"author": "Tom Shawver <tom@frosteddesign.com>",
"license": "ISC",
"bugs": {
"url": "https://github.com/TomFrost/embassy/issues"
},
"homepage": "https://github.com/TomFrost/embassy#readme",
"dependencies": {
"base64-js": "^1.5.1",
"jsonwebtoken": "^8.5.1"
},
"devDependencies": {
"@types/jest": "^26.0.20",
"@types/jsonwebtoken": "^8.5.0",
"@types/node": "^14.14.20",
"@typescript-eslint/eslint-plugin": "^4.12.0",
"@typescript-eslint/parser": "^4.13.0",
"delay": "^3.1.0",
"eslint": "^7.17.0",
"eslint-config-prettier": "^7.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-tsdoc": "^0.2.10",
"husky": "^4.3.7",
"jest": "^26.6.3",
"lint-staged": "^10.5.3",
"prettier": "^2.2.1",
"ts-jest": "^26.4.4",
"typedoc": "^0.21.5",
"typedoc-plugin-markdown": "^3.4.0",
"typescript": "^4.1.3"
},
"eslintIgnore": [
"node_modules",
"coverage",
".vscode",
"dist"
],
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint --fix"
],
"*.{md,json}": [
"prettier -l --write"
]
},
"jest": {
"preset": "ts-jest",
"testMatch": [
"**/__tests__/**/*.spec.{js,ts}?(x)"
],
"testEnvironment": "node",
"verbose": true,
"testPathIgnorePatterns": [],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"collectCoverageFrom": [
"src/**/*.ts"
],
"coveragePathIgnorePatterns": [
"/node_modules/"
]
}
}