-
Notifications
You must be signed in to change notification settings - Fork 1
/
firebase.json
96 lines (96 loc) · 2.92 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"firestore": {
"rules": "firestore.rules",
"indexes": "firestore.indexes.json"
},
"storage": {
"rules": "storage.rules"
},
"functions": {
"predeploy": [
"npx nx run backend-functions:lint",
"npx nx run backend-functions:build",
"node apps/backend-functions/cp-angular.js"
],
"source": "dist/apps/backend-functions"
},
"hosting": [
{
"target": "journal",
"public": "dist/apps/journal/browser/",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{ "source": "/download", "destination": "download/index.html" },
{ "source": "/edit-profile", "destination": "edit-profile/index.html" },
{ "source": "/exercise", "destination": "exercise/index.html" },
{ "source": "/exercise/affirmations", "destination": "exercise/affirmations/index.html" },
{ "source": "/exercise/daily-gratitude", "destination": "exercise/daily-gratitude/index.html" },
{ "source": "/exercise/dear-future-self", "destination": "exercise/dear-future-self/index.html" },
{ "source": "/exercise/wheel-of-life", "destination": "exercise/wheel-of-life/index.html" },
{ "source": "/exercise/self-reflect", "destination": "exercise/self-reflect/index.hml"},
{ "source": "/explore", "destination": "explore/index.html" },
{ "source": "/goals", "destination": "goals/index.html" },
{ "source": "/notifications", "destination": "notifications/index.html" },
{ "source": "/privacy-policy", "destination": "privacy-policy/index.html" },
{ "source": "/profile", "destination": "profile/index.html" },
{ "source": "/settings", "destination": "settings/index.html" },
{ "source": "/settings/email-notifications", "destination": "settings/email-notifications/index.html" },
{ "source": "/settings/push-notifications", "destination": "settings/push-notifications/index.html" },
{ "source": "/supports", "destination": "supports/index.html" },
{ "source": "/terms", "destination": "terms/index.html" },
{ "source": "**", "destination": "/index.html" }
]
},
{
"target": "admin",
"public": "dist/apps/admin/",
"ingore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
},
{
"target": "blog",
"public": "apps/blog/build/",
"ingore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
],
"emulators": {
"auth": {
"port": 9099
},
"functions": {
"port": 5001
},
"firestore": {
"port": 8080
},
"hosting": {
"port": 5000
},
"pubsub": {
"port": 8085
},
"storage": {
"port": 9199
},
"ui": {
"enabled": true
}
}
}