mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
594b214a23
Simplify scripts.
20 lines
708 B
JSON
20 lines
708 B
JSON
{
|
|
"name": "with-firebase-hosting",
|
|
"version": "2.0.0",
|
|
"description":
|
|
"Host Next.js SSR app on Firebase Cloud Functions with Firebase Hosting redirects.",
|
|
"scripts": {
|
|
"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",
|
|
"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"
|
|
}
|
|
}
|