react-google-recaptcha-hook
Version:
React Hook for Google reCAPTCHA v3
81 lines (80 loc) • 2.49 kB
JSON
{
"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",
"hooks",
"recaptcha"
],
"author": "bhbs <bhbstar.me@gmail.com>",
"license": "MIT",
"version": "1.1.1",
"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:eslint && npm run lint:prettier",
"lint:cspell": "cspell --gitignore '**'",
"lint:eslint": "eslint src --ignore-path .gitignore",
"lint:prettier": "prettier . --check --ignore-path .gitignore",
"fix": "npm run fix:eslint && npm run fix:prettier",
"fix:eslint": "eslint src --fix --ignore-path .gitignore",
"fix:prettier": "prettier . --write --ignore-path .gitignore",
"storybook": "storybook dev"
},
"peerDependencies": {
"react": ">=16.13.1",
"react-dom": ">=16.13.1"
},
"devDependencies": {
"@storybook/addon-essentials": "^8.0.2",
"@storybook/addon-interactions": "^8.0.2",
"@storybook/react": "^8.0.2",
"@storybook/react-vite": "^8.0.2",
"@storybook/testing-library": "^0.2.2",
"@testing-library/react": "^15.0.6",
"@types/node": "^20.11.30",
"@types/react": "^18.2.67",
"@types/react-dom": "^18.2.22",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"@vitest/coverage-v8": "^1.4.0",
"cspell": "^8.6.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"happy-dom": "^14.0.0",
"prettier": "^3.2.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"storybook": "^8.0.2",
"typescript": "^5.4.2",
"vite": "^5.2.0",
"vitest": "^1.4.0"
}
}