Skip to content

Commit

Permalink
Firebase Deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mcortesi committed May 14, 2019
1 parent dbb10b0 commit fe0f808
Show file tree
Hide file tree
Showing 5 changed files with 1,407 additions and 46 deletions.
5 changes: 5 additions & 0 deletions client/.firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "poapapp"
}
}
1 change: 1 addition & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

/.firebase
# dependencies
/node_modules
/.pnp
Expand Down
18 changes: 18 additions & 0 deletions client/firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"hosting": {
"public": "build",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"headers": [
{
"source": "/service-worker.js",
"headers": [{ "key": "Cache-Control", "value": "no-cache" }]
}
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
1 change: 1 addition & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"auth0-js": "^9.10.2",
"classnames": "^2.2.6",
"ethers": "^4.0.27",
"firebase-tools": "^6.9.2",
"formik": "^1.5.4",
"node-sass": "^4.12.0",
"react": "^16.8.6",
Expand Down
Loading

0 comments on commit fe0f808

Please sign in to comment.