UNPKG

@asgardeo/react-router

Version:

React Router integration for Asgardeo React SDK with protected routes.

71 lines 2.16 kB
{ "name": "@asgardeo/react-router", "version": "1.0.27", "description": "React Router integration for Asgardeo React SDK with protected routes.", "keywords": [ "asgardeo", "react", "react-router", "protected-routes", "authentication" ], "homepage": "https://github.com/asgardeo/javascript/tree/main/packages/react-router#readme", "bugs": { "url": "https://github.com/asgardeo/javascript/issues" }, "author": "WSO2", "license": "Apache-2.0", "type": "module", "main": "dist/cjs/index.js", "module": "dist/index.js", "exports": { "import": "./dist/index.js", "require": "./dist/cjs/index.js" }, "files": [ "dist", "README.md", "LICENSE" ], "types": "dist/index.d.ts", "repository": { "type": "git", "url": "https://github.com/asgardeo/javascript", "directory": "packages/react-router" }, "devDependencies": { "@types/node": "22.15.3", "@types/react": "19.1.4", "@wso2/eslint-plugin": "git+https://github.com/brionmario/wso2-ui-configs.git#a1fc6eb570653c999828aea9f5027cba06af4391&path:packages/eslint-plugin", "@wso2/prettier-config": "git+https://github.com/brionmario/wso2-ui-configs.git#a1fc6eb570653c999828aea9f5027cba06af4391&path:packages/prettier-config", "esbuild-plugin-preserve-directives": "0.0.11", "esbuild": "0.25.9", "eslint": "8.57.0", "prettier": "2.6.2", "react": "19.1.4", "react-router": "7.6.3", "rimraf": "6.1.0", "typescript": "5.7.2", "vitest": "3.1.3" }, "peerDependencies": { "react": ">=19.1.4", "react-router": ">=6.30.1", "@asgardeo/react": "0.6.27" }, "dependencies": { "tslib": "2.8.1" }, "publishConfig": { "access": "public" }, "scripts": { "build": "pnpm clean && node esbuild.config.mjs && tsc -p tsconfig.lib.json --emitDeclarationOnly --outDir dist", "clean": "rimraf dist", "fix:lint": "eslint . --ext .js,.jsx,.ts,.tsx,.cjs,.mjs", "lint": "eslint . --ext .js,.jsx,.ts,.tsx,.cjs,.mjs", "test": "vitest", "test:browser": "vitest --workspace=vitest.workspace.ts", "typecheck": "tsc -p tsconfig.lib.json" } }