mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
84de7f9397
* Rename Firebase Auth example * Update gitignore to include npm5 lockfile * Cloud Function * Add Next app with two pages to demonstrate navigation * Add Firebase Hosting and configuration to Host & Deploy * Fix errors in rename for firebase-auth example * Recommend pkg managers with caches for better perf * Update with-firebase-hosting example Fix code * Update with-firebase-hosting example Fix npm scripts and package.json files * Update with-firebase-hosting example Update README & install scripts * Update with-firebase-hosting example Update example package name * Update with-firebase-hosting example Fix to use single-quotes * Update with-firebase-hosting example VSCode did not like single-quotes! Sorry * Fix gitignore file
22 lines
711 B
JSON
22 lines
711 B
JSON
{
|
|
"name": "with-firebase-hosting",
|
|
"version": "1.0.0",
|
|
"description": "Host Next.js SSR app on Firebase Cloud Functions with Firebase Hosting redirects.",
|
|
"scripts": {
|
|
"install": "npm run build-all",
|
|
"next": "npm run build-firebase && cd \"app\" && npm i && 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"
|
|
},
|
|
"dependencies": {
|
|
"next": "^3.0.1-beta.8",
|
|
"react": "^15.6.1",
|
|
"react-dom": "^15.6.1"
|
|
}
|
|
}
|