UNPKG

did-jwt

Version:

Library for Signing and Verifying JWTs that use DIDs as issuers and JWEs that use DIDs as recipients

106 lines (105 loc) 3.19 kB
{ "name": "did-jwt", "version": "8.0.9", "description": "Library for Signing and Verifying JWTs that use DIDs as issuers and JWEs that use DIDs as recipients", "type": "module", "source": "src/index.ts", "main": "./lib/index.cjs", "module": "./lib/index.module.js", "types": "./lib/index.d.ts", "files": [ "lib", "dist", "src", "LICENSE" ], "exports": { ".": { "types": "./lib/index.d.ts", "require": "./lib/index.cjs", "import": "./lib/index.module.js" } }, "browser": "./dist/did-jwt.js", "scripts": { "test": "cross-env NODE_OPTIONS=\"--experimental-vm-modules\" jest", "test:ci": "yarn test --coverage", "build:js": "microbundle --compress=false", "build:browser": "webpack --config webpack.config.cjs", "build": "yarn build:js && yarn build:browser", "clean": "rimraf lib dist", "build:docs": "echo 'PLEASE UPDATE REFERENCE DOCS MANUALLY'", "format": "prettier --write \"src/**/*.ts\"", "lint": "eslint --ignore-pattern \"src/**/*.test.[jt]s\" \"src/**/*.[jt]s\"", "prepublishOnly": "yarn test:ci && yarn format && yarn lint", "release": "semantic-release --debug" }, "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@github.com:decentralized-identity/did-jwt.git" }, "license": "Apache-2.0", "devDependencies": { "@babel/core": "7.25.9", "@babel/preset-env": "7.25.9", "@babel/preset-typescript": "7.25.9", "@ethersproject/address": "5.7.0", "@greymass/eosio": "^0.7.0", "@jest/globals": "^29.7.0", "@semantic-release/changelog": "6.0.3", "@semantic-release/git": "10.0.1", "@tonomy/antelope-did": "^0.1.5", "@types/jest": "29.5.13", "@types/jsonwebtoken": "9.0.7", "@types/jwk-to-pem": "2.0.3", "@types/node": "^20.1.4", "@typescript-eslint/eslint-plugin": "6.21.0", "@typescript-eslint/parser": "6.21.0", "codecov": "3.8.3", "cross-env": "7.0.3", "eslint": "8.57.1", "eslint-config-prettier": "9.1.0", "eslint-plugin-jest": "27.9.0", "eslint-plugin-prettier": "5.2.1", "jest": "29.7.0", "jest-config": "^29.7.0", "jsontokens": "4.0.1", "jsonwebtoken": "9.0.2", "jwk-to-pem": "2.0.6", "microbundle": "0.15.1", "mockdate": "3.0.5", "prettier": "3.3.3", "regenerator-runtime": "0.14.1", "rimraf": "^5.0.0", "semantic-release": "22.0.12", "ts-jest": "29.2.5", "ts-node": "10.9.2", "tweetnacl": "1.0.3", "typescript": "5.6.3", "webpack": "5.95.0", "webpack-cli": "5.1.4" }, "dependencies": { "@noble/ciphers": "^1.0.0", "@noble/curves": "^1.0.0", "@noble/hashes": "^1.3.0", "@scure/base": "^1.1.3", "canonicalize": "^2.0.0", "did-resolver": "^4.1.0", "multibase": "^4.0.6", "multiformats": "^9.6.2", "uint8arrays": "3.1.1" }, "eslintIgnore": [ "*.test.ts" ], "packageManager": "yarn@1.22.22" }