UNPKG

@asgardeo/react-router

Version:

React Router integration for Asgardeo React SDK with protected routes.

71 lines 2.15 kB
{ "name": "@asgardeo/react-router", "version": "0.0.11", "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": "https://gitpkg.now.sh/brionmario/wso2-ui-configs/packages/eslint-plugin?a1fc6eb570653c999828aea9f5027cba06af4391", "@wso2/prettier-config": "https://gitpkg.now.sh/brionmario/wso2-ui-configs/packages/prettier-config?a1fc6eb570653c999828aea9f5027cba06af4391", "esbuild-plugin-preserve-directives": "^0.0.11", "esbuild": "^0.25.4", "eslint": "8.57.0", "prettier": "^2.6.2", "react": "^19.1.0", "react-router": "^7.6.3", "rimraf": "^6.0.1", "typescript": "~5.7.2", "vitest": "^3.1.3" }, "peerDependencies": { "react": ">=16.8.0", "react-router": ">=6.0.0", "@asgardeo/react": "^0.5.18" }, "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" } }