UNPKG

@charmr/oauth-button

Version:

A lightweight, OAuth login button for React, designed to work seamlessly with the `@charmr/oauth-core` controller. Supports Google, Facebook (implicit flow), and GitHub (authorization code flow)

61 lines (60 loc) 1.24 kB
{ "name": "@charmr/oauth-button", "version": "0.1.89", "main": "dist/index.js", "module": "dist/index.mjs", "types": "dist/index.d.ts", "license": "MIT", "files": [ "dist", "LICENSE", "README.md" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" } }, "scripts": { "build": "vite build && tsc -p tsconfig.build.json" }, "peerDependencies": { "react": "^18.0.0 || ^19.0.0", "react-dom": "^18.0.0 || ^19.0.0" }, "devDependencies": { "@vitejs/plugin-react": "^4.6.0", "typescript": "^5.4.0", "vite": "^7.0.2" }, "dependencies": { "@types/node": "^24.0.10" }, "keywords": [ "oauth", "oauth2", "login", "authentication", "react", "react-component", "google-login", "oauth-button", "charmr", "social-login", "oauth-client", "auth" ], "repository": { "type": "git", "url": "https://github.com/charmrcom/oauth-button.git" }, "bugs": { "url": "https://github.com/charmrcom/oauth-button/issues" }, "homepage": "https://github.com/charmrcom/oauth-button#readme", "publishConfig": { "access": "public" } }