From 4284453c09dcbf02ef0077b160465b0b5aa9c0e4 Mon Sep 17 00:00:00 2001 From: Abhas Bhattacharya Date: Mon, 12 Mar 2018 03:20:37 +0530 Subject: [PATCH] Add buildWeb commands for gihub-pages --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 17ff29e..b194fa3 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,8 @@ "scripts": { "start": "react-scripts-ts start", "build": "react-scripts-ts build", + "buildWeb": "react-scripts-ts build && mv ./build ./docs", + "buildWeb-win": "react-scripts-ts build && powershell.exe \"Copy-Item -Path ./build/* -Recurse -force -Destination ./docs\"", "test": "react-scripts-ts test --env=jsdom", "eject": "react-scripts-ts eject" },