From 6f0f051a2bacd39bdd56140eda69308137ece84f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yusuf=20=C4=B0pek?= Date: Fri, 22 Jan 2021 20:01:46 +0300 Subject: [PATCH] updated package.json for gh-pages --- package.json | 5 ++++- public/index.html | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 38f776e..f8bcefb 100644 --- a/package.json +++ b/package.json @@ -1,4 +1,5 @@ { + "homepage": "http://yusufipk.github.io/custom-homepage", "name": "homepage", "version": "0.1.0", "private": true, @@ -20,7 +21,9 @@ "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "predeploy": "npm run build", + "deploy": "gh-pages -d build" }, "eslintConfig": { "extends": [ diff --git a/public/index.html b/public/index.html index aa069f2..d87a636 100644 --- a/public/index.html +++ b/public/index.html @@ -24,7 +24,7 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> - React App + Ana sayfa