UNPKG

@nats-io/jwt

Version:
64 lines (63 loc) 1.96 kB
{ "name": "@nats-io/jwt", "version": "0.0.10-5", "description": "NATS jwt.js", "main": "cjs/jwt.js", "module": "./esm/jwt.js", "exports": { ".": { "types": "./lib/mod.d.ts", "require": "./cjs/jwt.js", "import": "./esm/jwt.js" } }, "types": "lib/mod.d.ts", "files": [ "cjs/", "esm/", "lib/", "MAINTAINERS.md", "CODE-OF-CONDUCT.md", "LICENSE" ], "scripts": { "setup": "curl -fsSL https://deno.land/x/install/install.sh | sh", "fmt": "deno fmt src/*/*.ts test/*.ts test/*/*.ts node_test/*.js", "prepare": "npm run build", "clean": "shx rm -Rf ./esm/jwt.js ./lib ./.deps ./cjs_src", "build": "npm run clean && deno run -A bin/generate_version.ts && npm run build-cjs && npm run build-esm", "cjs": "shx rm -Rf ./cjs_src && deno run --allow-all ./bin/cjs-fix-imports.ts -o cjs_src/ ./src", "build-cjs": "npm run cjs && tsc", "build-esm": "deno run --allow-all --reload src/mod.ts && deno bundle --log-level info src/mod.ts ./esm/jwt.js", "test": "deno test -A --unstable tests/", "lint": "deno lint src/", "doc": "npm run clean && rm -Rf docs && npm run build && node_modules/.bin/typedoc --out docs/ && touch ./docs/.nojekyll", "check-package": "deno run --allow-all bin/check-bundle-version.ts", "bump-qualifier": "npm version prerelease --no-commit-hooks --no-git-tag-version", "bump-release": "npm version patch --no-commit-hooks --no-git-tag-version" }, "dependencies": { "@nats-io/nkeys": "^1.2.0-4" }, "devDependencies": { "@types/node": "^20.14.x", "shx": "^0.3.3", "typedoc": "^0.25.13", "typescript": "^5.4.5" }, "repository": { "type": "git", "url": "git@github.com:nats-io/jwt.js.git" }, "bugs": { "url": "https://github.com/nats-io/jwt.js/issues" }, "keywords": [ "NATS", "JWT" ], "author": { "name": "The NATS Authors" }, "license": "Apache-2.0" }