From b98e1d0dcfe3ae61d42081da68c06cafff022598 Mon Sep 17 00:00:00 2001 From: Grant Nestor Date: Wed, 28 Feb 2018 10:19:28 -0800 Subject: [PATCH] Fix package.json for consumers --- package.json | 10 +++++++--- yarn.lock | 4 ++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 4743c34..4497962 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,7 @@ "url": "https://github.com/plotly/plotly-icons/issues" }, "dependencies": { - "mdi-react": "^2.1.19", - "react": "^16.2.0", - "react-dom": "^16.2.0" + "mdi-react": "^2.1.19" }, "devDependencies": { "babel-cli": "^6.10.1", @@ -18,8 +16,14 @@ "babel-preset-react": "^6.11.1", "fs": "0.0.1-security", "mkdirp": "^0.5.1", + "react": "^16.0.0", + "react-dom": "^16.0.0", "rimraf": "^2.6.1" }, + "peerDependencies": { + "react": ">15", + "react-dom": ">15" + }, "homepage": "https://github.com/plotly/plotly-icons#readme", "license": "ISC", "main": "lib/index.js", diff --git a/yarn.lock b/yarn.lock index 123bfa9..85b5240 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1397,7 +1397,7 @@ rc@^1.1.7: minimist "^1.2.0" strip-json-comments "~2.0.1" -react-dom@^16.2.0: +react-dom@^16.0.0: version "16.2.0" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-16.2.0.tgz#69003178601c0ca19b709b33a83369fe6124c044" dependencies: @@ -1406,7 +1406,7 @@ react-dom@^16.2.0: object-assign "^4.1.1" prop-types "^15.6.0" -react@^16.2.0: +react@^16.0.0: version "16.2.0" resolved "https://registry.yarnpkg.com/react/-/react-16.2.0.tgz#a31bd2dab89bff65d42134fa187f24d054c273ba" dependencies: