UNPKG

@elyash14/next-keycloak

Version:

An authentication library based on Keycloak for NextJs applications

72 lines (71 loc) 1.51 kB
{ "name": "@elyash14/next-keycloak", "description": "An authentication library based on Keycloak for NextJs applications", "author": "Elyas Mosayebi", "module": "dist/next-keycloak.esm.js", "version": "2.0.3", "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", "files": [ "dist", "src" ], "engines": { "node": ">=10" }, "keywords": [ "Keycloak", "React", "NextJs", "Hook", "Authentication" ], "scripts": { "start": "tsdx watch", "build": "tsdx build", "test": "tsdx test --passWithNoTests", "lint": "tsdx lint", "prepare": "tsdx build", "size": "size-limit", "analyze": "size-limit --why" }, "husky": { "hooks": { "pre-commit": "tsdx lint" } }, "prettier": { "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "es5" }, "size-limit": [ { "path": "dist/next-keycloak.cjs.production.min.js", "limit": "10 KB" }, { "path": "dist/next-keycloak.esm.js", "limit": "10 KB" } ], "devDependencies": { "@size-limit/preset-small-lib": "^5.0.4", "@types/react": "^17.0.24", "@types/react-dom": "^17.0.9", "husky": "^7.0.2", "react": "^17.0.2", "react-dom": "^17.0.2", "size-limit": "^5.0.4", "tsdx": "^0.14.1", "tslib": "^2.3.1", "typescript": "^4.4.3", "keycloak-js": "^16.0.0" }, "peerDependencies": { "react": ">=16", "keycloak-js": ">=11" } }