v1.6.2/api fix, admin dashboard deploy, scroller
This commit is contained in:
+19
-11
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user