Skip to content

Commit

Permalink
chore(deps): remove react from dependencies, add to peer
Browse files Browse the repository at this point in the history
  • Loading branch information
engvik committed Jan 7, 2020
1 parent c946814 commit 4a15137
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
17 changes: 10 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-abtest",
"version": "4.0.0",
"version": "5.0.0",
"description": "A simple React and React Native AB test component.",
"main": "dist/index.js",
"scripts": {
Expand All @@ -19,17 +19,20 @@
"Lars Jansøn Engvik"
],
"license": "MIT",
"peerDependencies": {
"prop-types": ">=15.5.0",
"react": ">=16.0.0",
"react-dom": ">=16.0.0"
},
"devDependencies": {
"@babel/cli": "7.7.7",
"@babel/core": "7.7.7",
"@babel/plugin-syntax-dynamic-import": "7.7.4",
"@babel/preset-env": "7.7.7",
"@babel/preset-react": "7.7.4"
},
"dependencies": {
"prop-types": "15.7.2",
"react": "16.12.0",
"react-dom": "16.12.0"
"@babel/preset-react": "7.7.4",
"prop-types": ">=15.5.0",
"react": ">=16.0.0",
"react-dom": ">=16.0.0"
},
"keywords": [
"react",
Expand Down
9 changes: 6 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1672,9 +1672,10 @@ process-nextick-args@~2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"

prop-types@15.7.2, prop-types@^15.6.2:
prop-types@>=15.5.0, prop-types@^15.6.2:
version "15.7.2"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5"
integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==
dependencies:
loose-envify "^1.4.0"
object-assign "^4.1.1"
Expand All @@ -1689,9 +1690,10 @@ rc@^1.2.7:
minimist "^1.2.0"
strip-json-comments "~2.0.1"

react-dom@16.12.0:
react-dom@>=16.0.0:
version "16.12.0"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.12.0.tgz#0da4b714b8d13c2038c9396b54a92baea633fe11"
integrity sha512-LMxFfAGrcS3kETtQaCkTKjMiifahaMySFDn71fZUNpPHZQEzmk/GiAeIT8JSOrHB23fnuCOMruL2a8NYlw+8Gw==
dependencies:
loose-envify "^1.1.0"
object-assign "^4.1.1"
Expand All @@ -1702,9 +1704,10 @@ react-is@^16.8.1:
version "16.8.6"
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.6.tgz#5bbc1e2d29141c9fbdfed456343fe2bc430a6a16"

react@16.12.0:
react@>=16.0.0:
version "16.12.0"
resolved "https://registry.yarnpkg.com/react/-/react-16.12.0.tgz#0c0a9c6a142429e3614834d5a778e18aa78a0b83"
integrity sha512-fglqy3k5E+81pA8s+7K0/T3DBCF0ZDOher1elBFzF7O6arXJgzyu/FW+COxFvAWXJoJN9KIZbT2LXlukwphYTA==
dependencies:
loose-envify "^1.1.0"
object-assign "^4.1.1"
Expand Down

0 comments on commit 4a15137

Please sign in to comment.