v1.6.2/api fix, admin dashboard deploy, scroller

This commit is contained in:
2020-08-17 20:23:06 -04:00
parent 917d30ce05
commit 8826ca7735
10 changed files with 169 additions and 27 deletions
+19 -11
View File
@@ -1,18 +1,26 @@
{
"functions": {
"predeploy": [
"npm --prefix \"$RESOURCE_DIR\" run lint"
],
"predeploy": ["npm --prefix \"$RESOURCE_DIR\" run lint"],
"source": "functions"
},
"hosting": {
"public": "website",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
},
"hosting": [
{
"target": "website",
"public": "website",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"]
},
{
"target": "admin",
"public": "admin/build",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
],
"emulators": {
"functions": {
"port": 5001