Last active
October 28, 2018 07:35
-
-
Save jthegedus/c24981c3eb5c46d82075e94cb3689ee2 to your computer and use it in GitHub Desktop.
Cloud Functions for Firebase - NextJS example
This file contains 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
{ | |
"name": "nextonfirebase", | |
"version": "1.0.0", | |
"license": "MIT", | |
"scripts": { | |
"install": "yarn build-all", | |
"next": "yarn build-firebase && cd \"src/app\" && yarn && yarn dev", | |
"preserve": "yarn build-all", | |
"serve": "firebase serve", | |
"predeploy": "yarn build-all", | |
"deploy": "firebase deploy", | |
"build-all": "yarn build-next && yarn build-firebase", | |
"build-next": "cd \"src/app\" && yarn && yarn build", | |
"build-firebase": "cd \"src/functions\" && yarn" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment