@react-oauth/google
Advanced tools
Comparing version
@@ -109,3 +109,3 @@ import React, { useState, useRef, useEffect, createContext, useMemo, useContext, useCallback } from 'react'; | ||
]); | ||
return (React.createElement("div", { ref: btnContainerRef, style: { display: 'inline-flex', height: containerHeightMap[size] } })); | ||
return (React.createElement("div", { ref: btnContainerRef, style: { height: containerHeightMap[size] } })); | ||
} | ||
@@ -112,0 +112,0 @@ |
@@ -117,3 +117,3 @@ 'use strict'; | ||
]); | ||
return (React__default["default"].createElement("div", { ref: btnContainerRef, style: { display: 'inline-flex', height: containerHeightMap[size] } })); | ||
return (React__default["default"].createElement("div", { ref: btnContainerRef, style: { height: containerHeightMap[size] } })); | ||
} | ||
@@ -120,0 +120,0 @@ |
{ | ||
"name": "@react-oauth/google", | ||
"version": "0.2.5", | ||
"version": "0.2.6", | ||
"description": "Google OAuth2 using Google Identity Services for React 🚀", | ||
"main": "dist/index.js", | ||
"module": "dist/index.esm.js", | ||
"types": "dist/index.d.ts", | ||
"main": "./dist/index.js", | ||
"module": "./dist/index.esm.js", | ||
"types": "./dist/index.d.ts", | ||
"files": [ | ||
@@ -13,9 +13,5 @@ "dist" | ||
"scripts": { | ||
"dev": "rollup -c -w", | ||
"build": "rollup -c", | ||
"prerelease": "npm run build", | ||
"release": "np --no-tests --no-yarn", | ||
"prettier:check": "prettier . --check --ignore-unknown", | ||
"prettier:fix": "prettier . --write --ignore-unknown", | ||
"commit": "cz", | ||
"prepare": "is-ci || husky install" | ||
"prerelease": "npm run build" | ||
}, | ||
@@ -53,22 +49,5 @@ "publishConfig": { | ||
"devDependencies": { | ||
"@commitlint/cli": "^16.1.0", | ||
"@commitlint/config-conventional": "^16.0.0", | ||
"@rollup/plugin-commonjs": "^22.0.0", | ||
"@rollup/plugin-node-resolve": "^13.3.0", | ||
"@types/react": "^18.0.8", | ||
"commitizen": "^4.2.4", | ||
"cross-env": "^7.0.3", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"husky": "^7.0.4", | ||
"is-ci": "^3.0.1", | ||
"lint-staged": "^12.3.1", | ||
"np": "^7.6.1", | ||
"prettier": "2.5.1", | ||
"rollup": "^2.71.1", | ||
"rollup-plugin-babel": "^4.4.0", | ||
"rollup-plugin-cleaner": "^1.0.0", | ||
"rollup-plugin-delete": "^2.0.0", | ||
"rollup-plugin-dts": "^4.2.1", | ||
"rollup-plugin-peer-deps-external": "^2.2.4", | ||
"rollup-plugin-typescript2": "^0.31.2", | ||
"typescript": "^4.6.4" | ||
@@ -75,0 +54,0 @@ }, |
@@ -15,2 +15,6 @@ # React OAuth2 | Google | ||
## Demo | ||
https://react-oauth.vercel.app/ | ||
## Seamless sign-in and sign-up flows | ||
@@ -17,0 +21,0 @@ |
4
-80.95%267
1.52%64202
-3.25%5
-16.67%