Skip to content
This repository has been archived by the owner on Feb 9, 2021. It is now read-only.

Commit

Permalink
work around need for a local runtimeconfig (ish)
Browse files Browse the repository at this point in the history
This still scares me because if you ever accidentally invoke firebase
shell directly rather than via npm, you could use the wrong config, but
it's better than nothing.

From firebase/firebase-tools#477 (comment)
  • Loading branch information
ppannuto committed Jun 20, 2018
1 parent 646f4f1 commit 867e923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/firebase_functions/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Cloud Functions for Firebase",
"scripts": {
"serve": "firebase serve --only functions",
"shell": "firebase functions:shell",
"shell": "firebase functions:config:get > .runtimeconfig.json && firebase functions:shell",
"start": "npm run shell",
"deploy": "firebase deploy --only functions",
"logs": "firebase functions:log"
Expand Down

0 comments on commit 867e923

Please sign in to comment.