use-captcha-react
Version:
React hook for captcha providers
80 lines (79 loc) • 1.97 kB
JSON
{
"name": "use-captcha-react",
"version": "1.0.2",
"author": {
"email": "gabrieljesus9221@gmail.com",
"name": "Gabriel Jesus",
"url": "https://github.com/GabrielJesusS"
},
"repository": {
"type": "git",
"url": "https://github.com/GabrielJesusS/use-captcha-react/tree/main"
},
"license": "MIT",
"description": "React hook for captcha providers",
"keywords": [
"react",
"captcha",
"reCaptcha",
"google",
"turnstile",
"providers",
"googleReCaptcha",
"form",
"validation",
"bot"
],
"typesVersions": {
"*": {
"googleReCaptchaV2": ["_build/googleV2.d.ts"],
"cloudflareTurnstile": ["_build/turnstile.d.ts"],
"hcaptcha": ["_build/hcaptcha.d.ts"]
}
},
"private": false,
"main": "./_build/index.js",
"types": "./_build/index.d.ts",
"module": "./_build/index.mjs",
"exports": {
".": {
"types": "./_build/index.d.ts",
"require": "./_build/index.js",
"import": "./_build/index.mjs"
},
"./googleReCaptchaV2": {
"types": "./_build/googleV2.d.ts",
"require": "./_build/googleV2.js",
"import": "./_build/googleV2.mjs"
},
"./cloudflareTurnstile": {
"types": "./_build/turnstile.d.ts",
"require": "./_build/turnstile.js",
"import": "./_build/turnstile.mjs"
},
"./hcaptcha": {
"types": "./_build/hcaptcha.d.ts",
"require": "./_build/hcaptcha.js",
"import": "./_build/hcaptcha.mjs"
}
},
"scripts": {
"dev": "tsup --watch",
"build": "tsup",
"size": "size-limit",
"size:why": "size-limit --why"
},
"devDependencies": {
"@size-limit/esbuild-why": "^11.1.6",
"@size-limit/preset-small-lib": "^11.1.6",
"@types/react": "^18",
"@types/react-dom": "^18",
"size-limit": "^11.1.6",
"tsup": "^8.3.5",
"typescript": "5.5.4"
},
"peerDependencies": {
"react": ">=18 || <= 19",
"react-dom": ">=18 || <= 19"
}
}