UNPKG

@wristband/nextjs-auth

Version:

SDK for integrating your NextJS application with Wristband. Handles user authentication and token management.

105 lines (104 loc) 2.88 kB
{ "name": "@wristband/nextjs-auth", "description": "SDK for integrating your NextJS application with Wristband. Handles user authentication and token management.", "author": "Wristband", "version": "1.0.0", "license": "MIT", "private": false, "homepage": "https://wristband.dev", "repository": { "type": "git", "url": "git@github.com:wristband-dev/nextjs-auth.git" }, "bugs": { "email": "support@wristband.dev" }, "engines": { "node": ">=18.12.1", "npm": ">=8.19.2" }, "source": "./src/index.ts", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "types": "./dist/types/index.d.js", "exports": { "import": "./dist/esm/index.js", "require": "./dist/cjs/index.js", "types": "./dist/types/index.d.ts", "default": "./dist/esm/index.js" }, "files": [ "dist", "LICENSE.md", "README.md", "package.json" ], "publishConfig": { "access": "public" }, "keywords": [ "nextjs", "next", "typescript", "authentication", "tenant", "multi-tenant", "multi-tenancy", "secure", "security", "jwt", "api", "oidc", "oauth", "wristband", "sdk" ], "scripts": { "build": "npm run build:cjs && npm run build:esm && npm run build:types", "build:cjs": "tsc -p config/tsconfig.cjs.json", "build:esm": "tsc -p config/tsconfig.esm.json", "build:types": "tsc -p config/tsconfig.types.json", "clean": "rm -rf dist", "lint": "eslint . --ext .js --ext .ts", "lint:fix": "eslint . --ext .js --ext .ts --fix", "package": "npm run build && npm pack", "prepublishOnly": "pinst --disable", "_postinstall": "husky install", "postpublish": "pinst --enable", "test": "jest --no-cache --runInBand", "test:cov": "jest --coverage --no-cache --runInBand" }, "devDependencies": { "@types/async-retry": "^1.4.8", "@types/jest": "^29.5.12", "@types/node": "^20.11.20", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "@typescript-eslint/eslint-plugin": "^7.1.1", "@typescript-eslint/parser": "^7.1.1", "eslint": "^8.57.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-typescript": "^18.0.0", "eslint-config-node": "^4.1.0", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-alias": "^1.1.2", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jest-extended": "^2.0.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^5.1.3", "husky": "^9.0.11", "jest": "^29.7.0", "jest-extended": "^4.0.2", "nock": "^13.5.4", "node-mocks-http": "^1.14.1", "pinst": "^3.0.0", "ts-jest": "^29.1.2", "typescript": "^5.7.2" }, "dependencies": { "async-retry": "^1.3.3", "iron-webcrypto": "^1.2.1", "next": "^15.2.4", "uncrypto": "^0.1.3" } }