diff --git a/.gitignore b/.gitignore index a7904639..05176d52 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/package.json b/package.json index 6652567b..04e60010 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "name": "react", + "homepage": "https://www.excalidraw.com", "version": "1.0.0", "description": "", "keywords": [], @@ -14,6 +15,7 @@ "devDependencies": { "@types/react": "16.9.17", "@types/react-dom": "16.9.4", + "gh-pages": "2.1.1", "husky": "3.1.0", "lint-staged": "9.5.0", "prettier": "1.19.1", @@ -23,7 +25,8 @@ "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test --env=jsdom", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "deploy": "react-scripts build && gh-pages -d build" }, "browserslist": [ ">0.2%", diff --git a/public/CNAME b/public/CNAME new file mode 100644 index 00000000..587434da --- /dev/null +++ b/public/CNAME @@ -0,0 +1 @@ +www.excalidraw.com