UNPKG

react-google-recaptcha-hook

Version:
71 lines (70 loc) 1.79 kB
{ "name": "react-google-recaptcha-hook", "description": "React Hook for Google reCAPTCHA v3", "repository": { "type": "git", "url": "https://github.com/bhbs/react-google-recaptcha-hook.git" }, "homepage": "https://github.com/bhbs/react-google-recaptcha-hook", "bugs": { "url": "https://github.com/bhbs/react-google-recaptcha-hook/issues" }, "keywords": [ "react", "react18", "react19", "hooks", "recaptcha" ], "author": "bhbs <bhbstar.me@gmail.com>", "license": "MIT", "version": "1.1.3", "type": "module", "files": [ "dist", "types" ], "types": "./types/index.d.ts", "main": "./dist/react-google-recaptcha-hook.cjs.js", "module": "./dist/react-google-recaptcha-hook.es.js", "exports": { ".": { "types": "./types/index.d.ts", "import": "./dist/react-google-recaptcha-hook.es.js", "require": "./dist/react-google-recaptcha-hook.cjs.js" } }, "scripts": { "build": "tsc && vite build", "test": "vitest", "coverage": "vitest run --coverage", "lint": "npm run lint:cspell && npm run lint:biome", "lint:cspell": "cspell --gitignore '**'", "lint:biome": "biome ci", "fix": "npm run fix:biome", "fix:biome": "biome check --write", "storybook": "storybook dev" }, "peerDependencies": { "react": ">=16.13.1", "react-dom": ">=16.13.1" }, "devDependencies": { "@biomejs/biome": "2.3.6", "@storybook/react": "^10.0.8", "@storybook/react-vite": "^10.0.8", "@testing-library/react": "^16.3.0", "@types/node": "^24.10.1", "@types/react": "^19.2.5", "@types/react-dom": "^19.2.3", "@vitest/coverage-v8": "^4.0.10", "cspell": "^9.3.2", "happy-dom": "^20.0.10", "react": "^19.2.0", "react-dom": "^19.2.0", "storybook": "^10.0.8", "typescript": "^5.9.3", "vite": "^7.1.12", "vitest": "^4.0.10" } }