- Add explicit Router type annotations to fix TS2742 errors - Add @google-cloud/functions-framework dependency for Firebase deployment - Fix build script to use cross-platform file copy (Windows compatible) - Exclude pnpm-lock.yaml from Firebase deployment - Update package-lock.json to sync with package.json
43 lines
698 B
JSON
43 lines
698 B
JSON
{
|
|
"functions": {
|
|
"source": ".",
|
|
"runtime": "nodejs20",
|
|
"ignore": [
|
|
"node_modules",
|
|
"src",
|
|
"logs",
|
|
"uploads",
|
|
"*.test.ts",
|
|
"*.test.js",
|
|
"jest.config.js",
|
|
"tsconfig.json",
|
|
".eslintrc.js",
|
|
"Dockerfile",
|
|
"cloud-run.yaml",
|
|
".env",
|
|
".env.*",
|
|
"*.env",
|
|
".env.bak",
|
|
".env.bak*",
|
|
"*.env.bak",
|
|
"*.env.bak*",
|
|
"pnpm-lock.yaml"
|
|
],
|
|
"predeploy": [
|
|
"npm run build"
|
|
],
|
|
"codebase": "backend"
|
|
},
|
|
"emulators": {
|
|
"functions": {
|
|
"port": 5001
|
|
},
|
|
"hosting": {
|
|
"port": 5000
|
|
},
|
|
"ui": {
|
|
"enabled": true,
|
|
"port": 4000
|
|
}
|
|
}
|
|
} |