diff --git a/.firebaserc b/.firebaserc new file mode 100644 index 0000000..914ac47 --- /dev/null +++ b/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "trecamp-55883" + } +} diff --git a/.gitignore b/.gitignore index 4d29575..f4cb9f7 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,8 @@ /.pnp .pnp.js +.firebase + # testing /coverage diff --git a/firebase.json b/firebase.json new file mode 100644 index 0000000..f475554 --- /dev/null +++ b/firebase.json @@ -0,0 +1,10 @@ +{ + "hosting": { + "public": "build", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ] + } +} diff --git a/package.json b/package.json index 387a43c..8ce4bd7 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,8 @@ "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "deploy": "yarn build && firebase deploy" }, "eslintConfig": { "extends": "react-app" diff --git a/src/App.tsx b/src/components/App.tsx similarity index 100% rename from src/App.tsx rename to src/components/App.tsx diff --git a/src/components/Molecules/LoginForm.tsx b/src/components/Molecules/LoginForm.tsx index 5a5cd46..602cdfa 100644 --- a/src/components/Molecules/LoginForm.tsx +++ b/src/components/Molecules/LoginForm.tsx @@ -10,7 +10,7 @@ const LoginForm: React.FC<{}> = () => { const changePassword = (e: React.ChangeEvent) => setPassword(e.target.value); return ( -
+