github.com/SamarSidharth/kpt@v0.0.0-20231122062228-c7d747ae3ace/firebase.json (about)

     1  {
     2    "hosting": {
     3      "public": "site",
     4      "ignore": [
     5        "firebase.json",
     6        "Dockerfile",
     7        "**/.*",
     8        "**/node_modules/**",
     9        "**/*.test.*"
    10      ],
    11      "rewrites": [
    12        {
    13          "source": "/configsync{,/**}",
    14          "function": "configsync"
    15        },
    16        {
    17          "source": "/resourcegroup{,/**}",
    18          "function": "resourcegroup"
    19        },
    20        {
    21          "regex": "^[/\\w\\.-]+[^\\.]..$",
    22          "destination": "/index.html"
    23        }
    24      ]
    25    },
    26    "functions": {
    27      "source": "firebase/functions",
    28      "predeploy": [
    29        "npm --prefix \"$RESOURCE_DIR\" run lint"
    30      ]
    31    }
    32  }