Created
April 3, 2019 19:56
-
-
Save ninetails/26aa807701551d9552a7b59559523bd9 to your computer and use it in GitHub Desktop.
Google Cloud Functions Emulator with Node.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
(...) | |
"scripts": { | |
"functions": "source $HOME/.nvm/nvm.sh; nvm exec lts/boron npx @google-cloud/functions-emulator", | |
"functions:deploy": "$npm_execpath run functions -- deploy", | |
"functions:deploy:hello": "$npm_execpath run functions:deploy -- hello --trigger-http", | |
"functions:status": "$npm_execpath run functions -- status", | |
"functions:start": "$npm_execpath run functions -- start", | |
"functions:stop": "$npm_execpath run functions -- stop" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment