Skip to content

Commit

Permalink
fix(package): React 15
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnrusschen authored and davidnpma committed May 3, 2016
1 parent 3d131ad commit 4928e0e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"babel-eslint": "^3.1.15",
"babel-loader": "^5.1.4",
"babel-plugin-rewire": "^0.1.22",
"react-addons-test-utils": "^0.14.0 || ^15.0.0",
"rimraf": "^2.3.4",
"semantic-release": "^4.0.0",
"standard": "^5.0.0-2",
Expand All @@ -49,7 +50,7 @@
"webpack-dev-server": "^1.8.2"
},
"peerDependencies": {
"react": ">=0.13.2 || ^0.14.0-rc1 || ^15.0.0-rc"
"react": "^0.14.0 || ^15.0.0"
},
"dependencies": {
"error-stack-parser": "^1.2.0",
Expand Down
4 changes: 2 additions & 2 deletions tests/utils.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react/addons'
const TestUtils = React.addons.TestUtils
import React from 'react'
const TestUtils = require('react-addons-test-utils');

export const createComponent = (component, props, ...children) => {
const shallowRenderer = TestUtils.createRenderer()
Expand Down

0 comments on commit 4928e0e

Please sign in to comment.