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
Saro Vindigni d3518242a6 FIX deploy with-firebase-hosting (#3946)
* FIX deploy with-firebase-hosting

* add npm run command in place of yarn in firebase.json predeploy hooks

* Change yarn with npm

* firebase-hosting example: Add warning in examples README

* firebase-hosting example: clarify warning language

* firebase-hosting example: remove the warning and upgrade to canary

* firebase-hosting example: actually upgrade pkg.json
2018-03-08 13:54:32 +01:00

18 lines
352 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 && npm run install-deps"
}
}