nats-jwt
Version:
NATS jwt.js
73 lines (72 loc) • 2.09 kB
JSON
{
"name": "nats-jwt",
"version": "0.0.9",
"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 && 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 --unstable --reload src/mod.ts && deno bundle --log-level info --unstable src/mod.ts ./esm/jwt.js",
"test": "ava --verbose && deno test -A --unstable tests/",
"ava": "ava --verbose",
"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": {
"nkeys.js": "1.1.0"
},
"devDependencies": {
"shx": "^0.3.3",
"@types/node": "^20.11.x",
"ava": "^6.1.x",
"typedoc": "^0.25.10",
"typescript": "^5.3.x"
},
"ava": {
"failFast": true,
"require": [],
"files": [
"./node_test/*.js"
]
},
"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"
}