From b36110ef0344846ce75688a2972b0a066d4849e9 Mon Sep 17 00:00:00 2001 From: hazam Date: Sat, 4 Jan 2020 00:59:33 +0500 Subject: [PATCH] Build and deploy via yarn deploy --- .gitignore | 6 ++++++ docs/index.html | 47 ----------------------------------------------- package.json | 3 ++- 3 files changed, 8 insertions(+), 48 deletions(-) delete mode 100644 docs/index.html diff --git a/.gitignore b/.gitignore index a7904639e..05176d52f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,12 @@ npm-debug.log* yarn-debug.log* yarn-error.log* +# Build artifacts +build + # Dependency directories node_modules/ + +# Editors .vscode/ + diff --git a/docs/index.html b/docs/index.html deleted file mode 100644 index e55513cd3..000000000 --- a/docs/index.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - - - Excalidraw - - - -

- excalidraw -

- - diff --git a/package.json b/package.json index ba9ea43d3..04e600106 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "name": "react", + "homepage": "https://www.excalidraw.com", "version": "1.0.0", "description": "", "keywords": [], @@ -25,7 +26,7 @@ "build": "react-scripts build", "test": "react-scripts test --env=jsdom", "eject": "react-scripts eject", - "deploy": "gh-pages -d docs" + "deploy": "react-scripts build && gh-pages -d build" }, "browserslist": [ ">0.2%",