UNPKG

react-guma-auth

Version:
80 lines (78 loc) 2.28 kB
{ "name": "react-guma-auth", "version": "1.1.7", "description": "", "homepage": "https://github.com/authts/react-guma-auth#readme", "license": "MIT", "main": "dist/umd/react-guma-auth.js", "types": "dist/types/react-guma-auth.d.ts", "dependencies" : { "json-server" : "0.17.0" } , "exports": { ".": { "import": "./dist/esm/react-guma-auth.js", "require": "./dist/umd/react-guma-auth.js" }, "./package.json": "./package.json" }, "files": [ "dist" ], "keywords": [ "authentication", "context-api", "oauth2", "oidc", "openid", "OpenID Connect", "react-component" ], "scripts": { "generate": "openapi-generator-cli generate -i user-api.json -o src/generated-sources/user -g typescript-fetch --additional-properties=supportsES6=true,npmVersion=6.9.0,typescriptThreePlus=true --skip-validate-spec", "build": "node scripts/build.js && npm run build-types", "build-types": "tsc --emitDeclarationOnly ", "clean": "git clean -fdX dist", "prepack": "npm run build", "test": "tsc -p test/tsconfig.json && jest", "lint": "eslint --max-warnings=0 --cache .", "prepare": "husky install" }, "peerDependencies": { "oidc-client-ts": "^2.0.0", "react": ">=16.8.0" }, "devDependencies": { "@microsoft/api-extractor": "^7.18.10", "@testing-library/jest-dom": "^5.5.0", "@testing-library/react": "^13.1.1", "@types/react": "^18.0.6", "@types/react-dom": "^18.0.2", "@types/react-test-renderer": "^18.0.0", "@typescript-eslint/eslint-plugin": "^5.7.0", "@typescript-eslint/parser": "^5.7.0", "esbuild": "^0.15.6", "eslint": "^8.4.1", "eslint-plugin-testing-library": "^5.0.0", "husky": "^8.0.1", "jest": "^27.2.0", "jest-mock": "^29.0.1", "lint-staged": "^13.0.0", "react": "^18.0.0", "react-dom": "^18.0.0", "react-test-renderer": "^18.0.0", "ts-jest": "^27.0.5", "tslib": "^2.2.0", "typescript": "^4.2.4", "yn": "^5.0.0", "axios": "~0.21.1", "oidc-client": "~1.10.1", "ramda": "~0.27.0", "react-router-dom": "~5.1.2", "toastr": "~2.1.4" }, "engines": { "node": ">=12.13.0" }, "lint-staged": { "*.{js,jsx,ts,tsx}": "eslint --cache --fix" } }