diff --git a/.travis.yml b/.travis.yml index 5a7d38f..7e92c6b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ before_install: - "sh -e /etc/init.d/xvfb start" before_script: - - "npm install react@$REACT_VERSION" + - "npm install react@$REACT_VERSION react-dom@$REACT_VERSION" script: - npm test diff --git a/package.json b/package.json index bf6b827..8727885 100644 --- a/package.json +++ b/package.json @@ -56,10 +56,10 @@ "matchdep": "^0.3.0", "mocha": "latest", "q": "^1.0.1", - "react-dom": "^15.0.2", + "react-dom": "^15.0.2 || ^16.0.0", "sinon": "^1.10.3" }, "peerDependencies": { - "react": "^15.0.2" + "react": "^15.0.2 || ^16.0.0" } }