mharj/mharj-jwt-util

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
    "name": "mharj-jwt-util",
    "version": "0.6.1",
    "description": "JWT util",
    "main": "./dist/index.js",
    "module": "./dist/index.mjs",
    "types": "./dist/index.d.ts",
    "exports": {
        ".": {
            "types": "./dist/index.d.ts",
            "require": "./dist/index.js",
            "import": "./dist/index.mjs"
        }
    },
    "scripts": {
        "build": "tsup src/index.ts --minify --sourcemap --format cjs,esm --dts --clean",
        "mocha": "mocha",
        "test-all": "npm run lint && npm run mocha",
        "prepublishOnly": "npm run build",
        "test": "nyc mocha",
        "azure-test": "nyc mocha",
        "coverage": "nyc report --reporter=lcovonly",
        "lint": "eslint src test",
        "validate": "tsc --noEmit --project tsconfig.test.json"
    },
    "mocha": {
        "exit": true,
        "extension": [
            "ts",
            "js"
        ],
        "recursive": true,
        "require": [
            "ts-node/register",
            "source-map-support/register"
        ],
        "reporters": [
            "spec",
            "mocha-junit-reporter"
        ]
    },
    "repository": {
        "type": "git",
        "url": "git+https://github.com/mharj/mharj-jwt-util.git"
    },
    "keywords": [
        "jwt",
        "jsonwebtoken",
        "openid",
        "util"
    ],
    "author": "mharj",
    "license": "MIT",
    "bugs": {
        "url": "https://github.com/mharj/mharj-jwt-util/issues"
    },
    "homepage": "https://github.com/mharj/mharj-jwt-util#readme",
    "nyc": {
        "extension": [
            ".ts"
        ],
        "include": [
            "src"
        ],
        "reporter": [
            "text",
            "cobertura"
        ],
        "all": true
    },
    "files": [
        "dist"
    ],
    "devDependencies": {
        "@stylistic/eslint-plugin": "^2.9.0",
        "@stylistic/eslint-plugin-ts": "^2.9.0",
        "@swc/core": "^1.7.40",
        "@types/chai": "^4.3.20",
        "@types/chai-as-promised": "^7.1.8",
        "@types/jsonwebtoken": "^9.0.7",
        "@types/mocha": "^10.0.9",
        "@types/node": "^16.18.115",
        "@typescript-eslint/eslint-plugin": "^8.11.0",
        "@typescript-eslint/parser": "^8.11.0",
        "chai": "^4.5.0",
        "chai-as-promised": "^7.1.2",
        "dotenv": "^16.4.5",
        "eslint": "^8.57.1",
        "eslint-config-prettier": "^9.1.0",
        "eslint-config-standard": "^17.1.0",
        "eslint-plugin-deprecation": "^2.0.0",
        "eslint-plugin-prettier": "^5.2.1",
        "eslint-plugin-sonarjs": "^0.25.1",
        "google-auth-library": "^9.14.2",
        "googleapis": "^144.0.0",
        "mocha": "^10.7.3",
        "mocha-junit-reporter": "^2.2.1",
        "nyc": "^15.1.0",
        "prettier": "^3.3.3",
        "source-map-support": "^0.5.21",
        "tachyon-drive-node-fs": "^0.10.0",
        "tachyon-expire-cache": "^0.10.0",
        "ts-node": "^10.9.2",
        "tsup": "^8.3.5",
        "typed-emitter": "^2.1.0",
        "typescript": "^5.6.3"
    },
    "dependencies": {
        "@avanio/auth-header": "^0.0.4",
        "@avanio/expire-cache": "^0.6.2",
        "@avanio/logger-like": "^0.2.7",
        "@luolapeikko/cache-types": "^0.0.7",
        "jsonwebtoken": "^9.0.2",
        "tachyon-drive": "^0.10.1",
        "zod": "^3.23.8"
    }
}