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-and-typescript/firebase.json
Sampson Oliver 35d32b48cc Create with-firebase-hosting-and-typescript example (#4443)
Adds an example based off of @jthegedus work on firebase hosting, compatible with next v6 and using typescript in both the firebase functions and the next app.
2018-05-21 10:25:45 +02:00

25 lines
496 B
JSON

{
"functions": {
"source": "dist/functions",
"predeploy": [
"npm run lint-functions",
"npm run lint-app",
"npm run typecheck-app",
"npm run build-functions",
"npm run build-app",
"npm run copy-deps",
"npm run install-deps"
]
},
"hosting": {
"public": "dist/public",
"rewrites": [
{
"source": "**/**",
"function": "nextApp"
}
],
"predeploy": "npm run build-public"
}
}