pashto-dictionary/firebase.json

20 lines
460 B
JSON

{
"functions": {
"predeploy": "cp .npmrc functions && cat .npmrc | envsubst > functions/.npmrc && cd functions && npm --prefix \"$RESOURCE_DIR\" run build",
"postdeploy": "rm functions/.npmrc"
},
"hosting": {
"public": "public",
"rewrites": [
{
"source": "/publishDictionary",
"function": "/publishDictionary"
},
{
"source": "/submissions",
"function": "/submissions"
}
]
}
}