2017-07-26 05:52:49 +00:00
|
|
|
{
|
|
|
|
"name": "with-firebase-hosting",
|
2017-10-05 06:28:46 +00:00
|
|
|
"version": "2.0.0",
|
|
|
|
"description":
|
|
|
|
"Host Next.js SSR app on Firebase Cloud Functions with Firebase Hosting redirects.",
|
2017-07-26 05:52:49 +00:00
|
|
|
"scripts": {
|
2017-10-05 06:28:46 +00:00
|
|
|
"install-app": "cd \"app/\" && npm i",
|
|
|
|
"install-functions": "cd \"functions/\" && npm i",
|
|
|
|
"postinstall": "npm run install-app && npm run install-functions",
|
|
|
|
"next": "cd \"app\" && npm run dev",
|
2017-07-26 05:52:49 +00:00
|
|
|
"preserve": "npm run build-all",
|
|
|
|
"serve": "firebase serve",
|
|
|
|
"predeploy": "npm run build-all",
|
|
|
|
"deploy": "firebase deploy",
|
|
|
|
"build-all": "npm run build-next && npm run build-firebase",
|
|
|
|
"build-next": "cd \"app\" && npm i && npm run build",
|
|
|
|
"build-firebase": "cd \"functions\" && npm i"
|
|
|
|
}
|
|
|
|
}
|