@matt-block/react-recaptcha-v2
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "@matt-block/react-recaptcha-v2", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Google reCAPTCHA v2 React component that does not pollute the DOM", | ||
@@ -27,8 +27,35 @@ "main": "lib/index.esm.js", | ||
"private": false, | ||
"scripts": { | ||
"build": "rollup -c rollup.config.ts", | ||
"build:definitions": "tsc --emitDeclarationOnly" | ||
}, | ||
"dependencies": { | ||
"nanoid": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"@types/nanoid": "^1.2.0", | ||
"@types/react": "^16.7.3", | ||
"husky": "^1.1.3", | ||
"lint-staged": "^8.0.4", | ||
"prettier": "^1.15.2", | ||
"rollup": "^0.67.1", | ||
"rollup-plugin-copy": "^0.2.3", | ||
"rollup-plugin-typescript": "^1.0.0", | ||
"tslib": "^1.9.3", | ||
"typescript": "^3.1.6" | ||
}, | ||
"peerDependencies": { | ||
"react": "^16.0.0" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"*.{js,flow,ts,tsx,json,css,md}": [ | ||
"prettier --write", | ||
"git add" | ||
] | ||
} | ||
} |
@@ -14,3 +14,3 @@ # React reCAPTCHA v2 | ||
will not conflict with each other. | ||
- [x] Typescript definitions (Flow ones are WIP) | ||
- [x] Typescript and Flow definitions | ||
- [x] Actively developed | ||
@@ -88,3 +88,3 @@ | ||
| ----------- | --------------------- | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| `siteKey` | `string` | `undefined` | **Required**. Your site key. | | ||
| `siteKey` | `string` | `undefined` | **Required**. Your site key or the value `"test"` which will inject the [test key][recaptcha_testkey]. | | ||
| `theme` | `light` \| `dark` | `light` | The color theme of the widget. | | ||
@@ -114,4 +114,5 @@ | `size` | `normal` \| `compact` | `normal` | The size of the widget. | | ||
[recaptcha_site]: https://developers.google.com/recaptcha/ | ||
[recaptcha_testkey]: https://developers.google.com/recaptcha/docs/faq#automated_test | ||
[cleanup_gif]: https://raw.githubusercontent.com/matt-block/react-recaptcha-v2/master/assets/cleanup.gif | ||
[typescript]: http://www.typescriptlang.org/ | ||
[rollup]: https://rollupjs.org |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15724
6
116
10