github.com/GoogleContainerTools/kpt@v1.0.0-beta.50.0.20240520170205-c25345ffcbee/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 }