diff --git a/package.json b/package.json index 0f1f76a..b0e4cb7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-gcaptcha", - "version": "2.0.0", + "version": "3.0.0", "description": "A react.js google reCAPTCHA component", "main": "dist/index.js", "scripts": { @@ -36,18 +36,17 @@ }, "homepage": "https://github.com/twobucks/react-gcaptcha", "devDependencies": { - "babel-cli": "^6.5.1", - "babel-jest": "^6.0.1", - "babel-preset-es2015": "^6.5.0", + "babel-cli": "^6.9.0", + "babel-jest": "^12.1.0", + "babel-preset-es2015": "^6.9.0", "babel-preset-react": "^6.5.0", - "eslint": "^1.4.3", - "eslint-plugin-react": "^3.3.2", - "jest-cli": "^0.8.2", - "react-addons-test-utils": "^0.14.7", - "react-dom": "^0.14.7", - "react-tools": "^0.13.3" + "eslint": "^2.10.2", + "eslint-plugin-react": "^5.1.1", + "jest-cli": "^12.1.1", + "react-addons-test-utils": "^15.1.0", + "react-dom": "^15.1.0" }, "dependencies": { - "react": "^0.14.7" + "react": "^15.1.0" } } diff --git a/src/index.js b/src/index.js index ab9044d..67c592d 100644 --- a/src/index.js +++ b/src/index.js @@ -1,7 +1,7 @@ const React = require("react"); class Recaptcha extends React.Component { constructor(props) { - super(null); + super(props); } loadCaptcha() { grecaptcha.render(this.props.elementID, {