1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/with-firebase-hosting/firebase.json
James Hegedus 57be892d02 with-firebase-hosting: update to work with next v6 (#4435)
* with-firebase-hosting: update next.js 6, readme about customization

* now next.js 6 is on Babel 7, remove conflicting babel deps
* update Next Server/Cloud Function .babelrc config
* update other deps: Cloud Functions to 1.x.x etc
* rm install-deps script as it is no longer used on deployment (firebase does not upload node_modules)
* make scripts consistent in their wrapping of dirs with \" (escaped double quotes)

* with-firebase-hosting: pin next to "latest" version

* with-firebase-hosting: fix lint errors
2018-05-21 10:28:09 +02:00

16 lines
321 B
JSON

{
"hosting": {
"public": "dist/public",
"rewrites": [
{
"source": "**/**",
"function": "next"
}
],
"predeploy": "npm run build-public"
},
"functions": {
"source": "dist/functions",
"predeploy": "npm run build-funcs && npm run build-app && npm run copy-deps"
}
}