From f92d4b1bd04e9c9be4429407330c2be493583c2f Mon Sep 17 00:00:00 2001 From: Mounish Sai Date: Tue, 7 May 2019 05:06:33 -0700 Subject: [PATCH] docs: remove --save flag (#2008) Summary: --save is no longer needed. Pull Request resolved: https://github.com/facebook/draft-js/pull/2008 Differential Revision: D15239571 Pulled By: claudiopro fbshipit-source-id: 78227dc4d3748ea64d769198a0dd9886f5e30b0c --- docs/Overview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Overview.md b/docs/Overview.md index 4da2e61a8a..32d52f4234 100644 --- a/docs/Overview.md +++ b/docs/Overview.md @@ -17,7 +17,7 @@ Draft.js was introduced at [React.js Conf](https://conf2016.reactjs.org/schedule Draft.js is distributed via npm. It depends on React and React DOM which must also be installed. ```sh -npm install --save draft-js react react-dom +npm install draft-js react react-dom # or alternately yarn add draft-js react react-dom ``` @@ -25,7 +25,7 @@ yarn add draft-js react react-dom Draft.js uses some modern ecmascript features which are not available to IE11 and not part of create-react-app's default babel config. If you're running into problems out-of-the-box try installing a shim or polyfill alongside Draft. ```sh -npm install --save draft-js react react-dom babel-polyfill +npm install draft-js react react-dom babel-polyfill # or yarn add draft-js react react-dom es6-shim ```