Skip to content

Commit d8da548

Browse files
committed
Firebase cloud config
1 parent b7769c7 commit d8da548

File tree

6 files changed

+49
-1
lines changed

6 files changed

+49
-1
lines changed

.firebaserc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "peaceinthemiddleeast"
4+
}
5+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## Goals
44
- [x] Works on phone, tablet, and computers
55
- [ ] Simple SheshBesh Backgammon (rules)
6-
- [ ] My safta (grandma) can use it (intuitive ui)
6+
- [x] My safta (grandma) can use it (intuitive ui)
77
- [x] My father can play with my grandmother (multiplayer)
88
- [ ] I can play with my father in law (automatic translation / notification)
99
- [x] No ads, no fee, no complexity

firebase.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"functions": [
3+
{
4+
"source": "functions",
5+
"codebase": "default",
6+
"ignore": [
7+
"node_modules",
8+
".git",
9+
"firebase-debug.log",
10+
"firebase-debug.*.log",
11+
"*.local"
12+
]
13+
}
14+
]
15+
}

functions/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules/
2+
*.local

functions/package.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "functions",
3+
"description": "Cloud Functions for Firebase",
4+
"scripts": {
5+
"serve": "firebase emulators:start --only functions",
6+
"shell": "firebase functions:shell",
7+
"start": "yarn shell",
8+
"deploy": "firebase deploy --only functions",
9+
"logs": "firebase functions:log"
10+
},
11+
"engines": {
12+
"node": "22"
13+
},
14+
"main": "index.js",
15+
"dependencies": {
16+
"firebase-admin": "^12.6.0",
17+
"firebase-functions": "^6.0.1"
18+
},
19+
"devDependencies": {
20+
"firebase-functions-test": "^3.1.0"
21+
},
22+
"private": true
23+
}

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,8 @@
3939
"vite": "^5.2.11",
4040
"vite-plugin-pwa": "^0.20.0"
4141
},
42+
"workspaces": [
43+
"functions"
44+
],
4245
"packageManager": "yarn@1.22.22+sha1.ac34549e6aa8e7ead463a7407e1c7390f61a6610"
4346
}

0 commit comments

Comments
 (0)