Skip to content

Commit

Permalink
EmulatorでHot Reloadを実装
Browse files Browse the repository at this point in the history
  • Loading branch information
MurakawaTakuya committed Nov 6, 2024
1 parent 1abf1be commit 6da94ff
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,4 @@ database-debug.log
firestore-debug.log
ui-debug.log
*.cache
functions\lib
73 changes: 73 additions & 0 deletions functions/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"shell": "npm run build && firebase functions:shell",
"start": "npm run shell",
"deploy": "firebase deploy --only functions",
"logs": "firebase functions:log"
"logs": "firebase functions:log",
"emu": "concurrently -k -n \"TypeaScript,Emulator\" -c \"cyan.bold,green.bold\" \"npx tsc --watch\" \"firebase emulators:start\""
},
"engines": {
"node": "18"
Expand All @@ -21,6 +22,7 @@
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",
"concurrently": "^9.1.0",
"eslint": "^8.57.1",
"eslint-config-google": "^0.14.0",
"eslint-plugin-import": "^2.25.4",
Expand Down

0 comments on commit 6da94ff

Please sign in to comment.