File tree Expand file tree Collapse file tree 8 files changed +4461
-73
lines changed Expand file tree Collapse file tree 8 files changed +4461
-73
lines changed Original file line number Diff line number Diff line change 1+ FIREBASE_DATABASE_EMULATOR_HOST=localhost:9000
Original file line number Diff line number Diff line change 1+ {
2+ "projects": {
3+ "default": "raduwen-obs-widgets"
4+ }
5+ }
Original file line number Diff line number Diff line change 11node_modules
22.cache
33.next
4+ * .log
5+
6+ .env.local
Original file line number Diff line number Diff line change @@ -2,3 +2,21 @@ raduwen-obs-widgets
22===================
33
44配信用Widget for オレ
5+
6+ ## Instllation
7+
8+ ```
9+ yarn install
10+ cp .env.local.example .env.local
11+ ```
12+
13+ ## Run
14+ ### web
15+ ```
16+ yarn dev
17+ ```
18+
19+ ### firebase emulator
20+ ```
21+ yarn firebase:emulator:start
22+ ```
Original file line number Diff line number Diff line change 1+ {
2+ "rules" : {
3+ ".read" : true ,
4+ ".write" : false ,
5+ }
6+ }
Original file line number Diff line number Diff line change 1+ {
2+ "database" : {
3+ "rules" : " database.rules.json"
4+ },
5+ "emulators" : {
6+ "auth" : {
7+ "port" : 9099
8+ },
9+ "database" : {
10+ "port" : 9000
11+ },
12+ "ui" : {
13+ "enabled" : true
14+ }
15+ }
16+ }
Original file line number Diff line number Diff line change 99 "scripts" : {
1010 "dev" : " next dev" ,
1111 "build" : " next build" ,
12- "start" : " next start"
12+ "start" : " next start" ,
13+ "firebase:emulator:start" : " firebase emulators:start"
1314 },
1415 "dependencies" : {
16+ "firebase" : " ^8.6.2" ,
1517 "next" : " ^10.2.3" ,
1618 "react" : " ^17.0.2" ,
1719 "react-dom" : " ^17.0.2"
1820 },
1921 "devDependencies" : {
22+ "@firebase/database-types" : " ^0.7.2" ,
2023 "@types/node" : " ^14.17.1" ,
2124 "@types/react" : " ^17.0.2" ,
2225 "@types/react-dom" : " ^17.0.2" ,
26+ "firebase-tools" : " ^9.12.0" ,
2327 "typescript" : " ^4.1.5"
2428 }
2529}
You can’t perform that action at this time.
0 commit comments