UNPKG

jwt-decode

Version:

Decode JWT tokens, mostly useful for browser applications.

60 lines (59 loc) • 2.04 kB
{ "name": "jwt-decode", "version": "4.0.0-beta.0", "description": "Decode JWT tokens, mostly useful for browser applications.", "main": "build/cjs/jwt-decode.js", "module": "build/esm/jwt-decode.js", "types": "build/typings/index.d.ts", "keywords": [ "jwt", "browser" ], "repository": { "type": "git", "url": "git://github.com/auth0/jwt-decode" }, "url": "https://github.com/auth0/jwt-decode/issues", "homepage": "https://github.com/auth0/jwt-decode#readme", "scripts": { "dev": "rollup --sourcemap --config --configPlugin typescript", "build": "rimraf build && rollup --sourcemap --config --configPlugin typescript --environment NODE_ENV:production", "postbuild": "echo '{\"type\": \"commonjs\"}'> build/cjs/package.json", "test": "npm run test:node && npm run test:browser", "test:node": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --coverage", "test:browser": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' jest --coverage --testEnvironment=jsdom" }, "author": "Jose F. Romaniello <jfromaniello@gmail.com>", "contributors": [ "Sam Bellen <sam.bellen@auth0.com>" ], "license": "MIT", "devDependencies": { "@rollup/plugin-terser": "^0.4.3", "@rollup/plugin-typescript": "^11.1.2", "jest": "^29.6.1", "jest-environment-jsdom": "^29.6.1", "jest-junit": "^16.0.0", "rimraf": "^5.0.1", "rollup": "^3.26.3", "rollup-plugin-livereload": "^2.0.5", "rollup-plugin-serve": "^2.0.2", "ts-jest": "^29.1.1", "ts-node": "^10.9.1", "typescript": "^5.1.6" }, "files": [ "build" ], "engines": { "node": ">=16" }, "type": "module", "exports": { ".": { "require": "./build/cjs/jwt-decode.js", "import": "./build/esm/jwt-decode.js", "types": "./build/typings/index.d.ts" } } }