UNPKG

auth0

Version:

Auth0 Node.js SDK for the Management API v2.

138 lines (137 loc) 4.44 kB
{ "name": "auth0", "version": "5.0.0", "private": false, "repository": { "type": "git", "url": "git+https://github.com/auth0/node-auth0.git" }, "license": "MIT", "type": "commonjs", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.mjs", "types": "./dist/cjs/index.d.ts", "exports": { ".": { "types": "./dist/cjs/index.d.ts", "import": { "types": "./dist/esm/index.d.mts", "default": "./dist/esm/index.mjs" }, "require": { "types": "./dist/cjs/index.d.ts", "default": "./dist/cjs/index.js" }, "default": "./dist/cjs/index.js" }, "./package.json": "./package.json", "./legacy": { "types": "./legacy/exports/index.d.ts", "import": { "types": "./legacy/exports/index.d.mts", "default": "./legacy/exports/index.mjs" }, "require": { "types": "./legacy/exports/index.d.ts", "default": "./legacy/exports/index.js" } } }, "files": [ "legacy", "package.json", "dist", "reference.md", "README.md", "LICENSE" ], "scripts": { "format": "prettier . --write --ignore-unknown", "build": "yarn build:cjs && yarn build:esm", "build:cjs": "tsc --project ./tsconfig.cjs.json", "build:esm": "tsc --project ./tsconfig.esm.json && node scripts/rename-to-esm-files.js dist/esm", "test": "jest --config jest.config.mjs", "test:unit": "jest --selectProjects unit", "test:browser": "jest --selectProjects browser", "test:wire": "jest --selectProjects wire", "prepare": "husky", "lint": "eslint . --ext .js,.ts,.tsx", "lint:fix": "eslint . --ext .js,.ts,.tsx --fix", "lint:check": "eslint . --ext .js,.ts,.tsx", "lint:package": "publint --pack npm", "test:coverage": "jest --config jest.config.mjs --coverage", "test:coverage:unit": "jest --selectProjects unit --coverage", "test:coverage:browser": "jest --selectProjects browser --coverage", "test:coverage:wire": "jest --selectProjects wire --coverage", "docs": "typedoc", "docs:clean": "rm -rf docs", "docs:build": "yarn docs:clean && yarn docs", "precommit": "lint-staged", "validate": "yarn lint:check && yarn format --check && yarn build && yarn test && yarn lint:package" }, "devDependencies": { "webpack": "^5.97.1", "ts-loader": "^9.5.1", "jest": "^29.7.0", "@jest/globals": "^29.7.0", "@types/jest": "^29.5.14", "ts-jest": "^29.3.4", "jest-environment-jsdom": "^29.7.0", "msw": "^2.8.4", "@types/node": "^18.19.70", "prettier": "^3.4.2", "typescript": "~5.7.2", "typedoc": "^0.28.7", "typedoc-plugin-missing-exports": "^4.0.0", "nock": "^14.0.6", "undici": "^7.12.0", "@eslint/js": "^9.32.0", "@typescript-eslint/eslint-plugin": "^8.38.0", "@typescript-eslint/parser": "^8.38.0", "eslint": "^9.32.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-prettier": "^5.5.3", "husky": "^9.1.7", "lint-staged": "^16.1.4", "publint": "^0.3.12" }, "browser": { "fs": false, "os": false, "path": false, "stream": false }, "packageManager": "yarn@1.22.22", "engines": { "node": "^20.19.0 || ^22.12.0 || ^24.0.0" }, "sideEffects": false, "bugs": { "url": "https://github.com/auth0/node-auth0/issues" }, "homepage": "https://github.com/auth0/node-auth0", "keywords": [ "auth0", "authentication", "login", "auth", "jwt", "management api", "json web token" ], "description": "Auth0 Node.js SDK for the Management API v2.", "lint-staged": { "*.{js,ts,tsx}": [ "eslint --fix", "prettier --write" ], "*.{json,md,yml,yaml}": [ "prettier --write" ] }, "dependencies": { "uuid": "^11.1.0", "jose": "^4.13.2", "auth0-legacy": "npm:auth0@^4.27.0" } }