From 48d26aed93e1a950461cabeda53602108cb53a5d Mon Sep 17 00:00:00 2001 From: Claudia Date: Wed, 5 Feb 2020 15:18:42 -0500 Subject: [PATCH] Move draft-js as a peer dependency --- .gitignore | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index aababa19..9187b68d 100644 --- a/.gitignore +++ b/.gitignore @@ -56,6 +56,7 @@ build/Release # Dependency directory # https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git node_modules +package-lock.json .eslintcache dist/ hash.json diff --git a/package.json b/package.json index 6b2095bb..48c7ab16 100644 --- a/package.json +++ b/package.json @@ -29,12 +29,12 @@ "author": "Brijesh Bittu (http://bitwiser.in/)", "license": "MIT", "dependencies": { - "draft-js": "^0.10.0", "immutable": "^3.7.6", "react-transition-group": "^2.5.0" }, "peerDependencies": { "draft-convert": "^2.0.0", + "draft-js": "^0.11.4", "prop-types": "^15.6.2", "react": "^15.0.0 || ^16.0.0", "react-dom": "^15.0.0 || ^16.0.0" @@ -53,6 +53,7 @@ "chai": "^3.5.0", "css-loader": "^0.23.1", "draft-convert": "^2.0.0", + "draft-js": "^0.11.4", "enzyme": "^2.8.2", "eslint": "^4.8.2", "eslint-config-airbnb": "^10.0.1",