From f904607fdfbe08bcec30296d29596864693dc838 Mon Sep 17 00:00:00 2001 From: Championrunner Date: Mon, 14 Sep 2020 22:05:39 +0530 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 06148323..2207ba05 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,8 @@ The remainder of this document contains a tutorial on creating a React app (usin ``` $ cd react-gh-pages $ npm install gh-pages --save-dev + or + $ yarn add gh-pages --dev ``` * The commands shown in the following steps can all be issued from within the app's folder. @@ -99,6 +101,8 @@ The remainder of this document contains a tutorial on creating a React app (usin ```sh $ sed -i '5i\ "homepage": "http://gitname.github.io/react-gh-pages",' ./package.json $ sed -i '15i\ "predeploy": "npm run build",' ./package.json + or + $ sed -i '15i\ "predeploy": "yarn build",' ./package.json $ sed -i '16i\ "deploy": "gh-pages -d build",' ./package.json ```