2021-08-18 11:54:00 +00:00
|
|
|
{
|
|
|
|
"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": [
|
|
|
|
{
|
2021-08-24 10:24:53 +00:00
|
|
|
"source": "/testme",
|
|
|
|
"function": "testme"
|
2021-08-18 11:54:00 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|