{
  "name": "did-jwt",
  "version": "9.0.1",
  "description": "Library for Signing and Verifying JWTs that use DIDs as issuers and JWEs that use DIDs as recipients",
  "type": "module",
  "sideEffects": false,
  "source": "src/index.ts",
  "main": "./lib.commonjs/index.js",
  "module": "./lib.esm/index.js",
  "types": "./lib.commonjs/index.d.ts",
  "files": [
    "lib.esm",
    "lib.commonjs",
    "src",
    "LICENSE"
  ],
  "exports": {
    ".": {
      "import": {
        "types": "./lib.esm/index.d.ts",
        "default": "./lib.esm/index.js"
      },
      "require": {
        "types": "./lib.commonjs/index.d.ts",
        "default": "./lib.commonjs/index.js"
      }
    }
  },
  "author": "Pelle Braendgaard",
  "contributors": [
    "Mircea Nistor <mircea.nistor@mesh.xyz>",
    "Oliver Terbu",
    "Joel Thorstensson <oed@3box.io>",
    "Jack Tanner <jack+public@tonomy.foundation>",
    "Rebal Alhaqash <rebal@tonomy.foundation>"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/decentralized-identity/did-jwt.git"
  },
  "license": "Apache-2.0",
  "devDependencies": {
    "@changesets/cli": "^3.0.3",
    "@ethersproject/address": "5.8.0",
    "@greymass/eosio": "0.7.0",
    "@tonomy/antelope-did": "0.1.5",
    "@types/jsonwebtoken": "9.0.10",
    "@types/jwk-to-pem": "2.0.3",
    "@types/node": "26.6.1",
    "@typescript-eslint/eslint-plugin": "8.70.0",
    "@typescript-eslint/parser": "8.70.0",
    "@typescript/native": "npm:typescript@7.0.2",
    "@vitest/coverage-v8": "5.0.1",
    "@vitest/eslint-plugin": "1.6.27",
    "eslint": "10.10.0",
    "eslint-config-prettier": "10.1.8",
    "eslint-plugin-prettier": "5.5.6",
    "jsontokens": "4.0.1",
    "jsonwebtoken": "9.0.3",
    "jwk-to-pem": "2.0.7",
    "mockdate": "3.0.5",
    "prettier": "3.9.7",
    "rimraf": "6.1.3",
    "tsx": "4.23.13",
    "tweetnacl": "1.0.3",
    "typescript": "npm:@typescript/typescript6@6.0.2",
    "vitest": "5.0.1"
  },
  "dependencies": {
    "@noble/ciphers": "^2.4.0",
    "@noble/curves": "^2.4.0",
    "@noble/hashes": "^2.4.0",
    "@scure/base": "^2.4.0",
    "canonicalize": "^2.1.0",
    "did-resolver": "^5.0.1",
    "uint8arrays": "^6.1.1"
  },
  "engines": {
    "node": ">=22.12"
  },
  "scripts": {
    "test": "vitest run",
    "test:ci": "vitest run --coverage",
    "canary": "node canary/unpack.mjs && tsx canary/canary.esm.ts && node canary/canary.cjs.cjs && (cd canary/consumer && tsc --noEmit)",
    "canary:unpack": "node canary/unpack.mjs",
    "canary:esm": "tsx canary/canary.esm.ts",
    "canary:cjs": "node canary/canary.cjs.cjs",
    "canary:types": "cd canary/consumer && tsc --noEmit",
    "build": "pnpm run build:common && pnpm run build:esm",
    "build:common": "tsc --project tsconfig.common.json && echo '{\"type\":\"commonjs\"}' > lib.commonjs/package.json",
    "build:esm": "tsc",
    "clean": "rimraf lib dist lib.commonjs lib.esm coverage *.tgz",
    "build:docs": "echo 'PLEASE UPDATE REFERENCE DOCS MANUALLY'",
    "format": "prettier --write \"src/**/*.ts\"",
    "lint": "eslint \"src/**/*.[jt]s\"",
    "changeset": "changeset",
    "release:publish": "changeset publish"
  }
}