-
Notifications
You must be signed in to change notification settings - Fork 0
/
firebase.json
48 lines (48 loc) · 1.09 KB
/
firebase.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"hosting": {
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{
"source": "**",
"run": {
"serviceId": "remix-firebase-tutorial-sample",
"region": "asia-northeast1"
}
}
]
},
"functions": [
{
"source": "functions",
"codebase": "default",
"ignore": [
"node_modules",
".git",
"firebase-debug.log",
"firebase-debug.*.log",
"*.local"
],
"predeploy": [
"rm -rf node_modules",
"pnpm install",
"pnpm functions lint",
"pnpm build:shared",
"pnpm shared pack --pack-destination ../../functions",
"pnpm functions add ./local-shared-1.0.0.tgz",
"pnpm functions build"
],
"postdeploy": [
"rm -rf functions/local-shared-1.0.0.tgz",
"pnpm functions remove @local/shared",
"pnpm functions add @local/shared"
]
}
],
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
},
"storage": {
"rules": "storage.rules"
}
}