Skip to content

Commit

Permalink
Revert some changes with Enzyme (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkuykendall committed Jun 22, 2019
1 parent cd52e9c commit 0c0fd10
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@
},
"dependencies": {
"form-data-to-object": "^0.2.0",
"prop-types": "^15.5.10",
"react-dom": "^16.8.6"
"prop-types": "^15.5.10"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
Expand Down Expand Up @@ -83,11 +82,13 @@
"react": "^16.2.0 || ^16.0.0",
"react-addons-pure-render-mixin": "^15.6.0",
"react-addons-test-utils": "^15.6.0",
"react-dom": "^16.2.0 || ^16.0.0",
"sinon": "^7.3.2",
"standard-changelog": "^2.0.11",
"webpack": "^3.10.0"
},
"peerDependencies": {
"react": "^15.6.1 || ^16.0.0"
"react": "^15.6.1 || ^16.0.0",
"react-dom": "^15.6.1 || ^16.0.0"
}
}
7 changes: 7 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ module.exports = {
amd: 'react',
umd: 'react',
},
'react-dom': {
root: 'ReactDOM',
commonjs2: 'react-dom',
commonjs: 'react-dom',
amd: 'react-dom',
umd: 'react-dom',
},
},
output: {
path: path.resolve(__dirname, 'release'),
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6903,7 +6903,7 @@ react-addons-test-utils@^15.6.0:
version "15.6.2"
resolved "https://registry.yarnpkg.com/react-addons-test-utils/-/react-addons-test-utils-15.6.2.tgz#c12b6efdc2247c10da7b8770d185080a7b047156"

react-dom@^16.8.6:
"react-dom@^16.2.0 || ^16.0.0":
version "16.8.6"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.8.6.tgz#71d6303f631e8b0097f56165ef608f051ff6e10f"
integrity sha512-1nL7PIq9LTL3fthPqwkvr2zY7phIPjYrT0jp4HjyEQrEROnw4dG41VVwi/wfoCneoleqrNX7iAD+pXebJZwrwA==
Expand Down

0 comments on commit 0c0fd10

Please sign in to comment.