@wristband/nextjs-auth
Version:
SDK for integrating your Next.js application with Wristband. Handles user authentication, session management, and token management.
107 lines (106 loc) • 2.97 kB
JSON
{
"name": "@wristband/nextjs-auth",
"description": "SDK for integrating your Next.js application with Wristband. Handles user authentication, session management, and token management.",
"author": "Wristband",
"version": "4.0.2",
"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": ">=20.0.0",
"npm": ">=9.6.0"
},
"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:coverage": "jest --coverage --no-cache --runInBand"
},
"peerDependencies": {
"next": "^14.0.0 || ^15.0.0 || ^16.0.0"
},
"dependencies": {
"@wristband/typescript-jwt": "^0.2.3",
"@wristband/typescript-session": "^0.1.0",
"iron-webcrypto": "^1.2.1",
"uncrypto": "^0.1.3"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "^20.19.25",
"@types/react": "^19.2.7",
"@types/react-dom": "^19.2.3",
"@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-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",
"next": "^16.0.10",
"nock": "^13.5.4",
"node-mocks-http": "^1.14.1",
"pinst": "^3.0.0",
"ts-jest": "^29.1.2",
"typescript": "^5.7.2"
}
}