{"id":18866940,"url":"https://github.com/flatfisher/cloud-functions-typescript-template","last_synced_at":"2025-04-05T16:08:44.608Z","repository":{"id":37073519,"uuid":"146875335","full_name":"flatfisher/cloud-functions-typescript-template","owner":"flatfisher","description":"TypeScript template for Google Cloud Functions","archived":false,"fork":false,"pushed_at":"2024-10-29T19:34:14.000Z","size":807,"stargazers_count":104,"open_issues_count":14,"forks_count":16,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-29T21:38:54.835Z","etag":null,"topics":["cloudfunctions","functions","gcp","nodejs","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flatfisher.png","metadata":{"files":{"readme":"README-ja.md","changelog":null,"contributing":"CONTRIBUTING-ja.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-31T10:07:32.000Z","updated_at":"2024-07-14T21:16:21.000Z","dependencies_parsed_at":"2024-01-30T21:47:46.758Z","dependency_job_id":"f5f025da-2d14-444a-a7d2-b7bd216c6ccb","html_url":"https://github.com/flatfisher/cloud-functions-typescript-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatfisher%2Fcloud-functions-typescript-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatfisher%2Fcloud-functions-typescript-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatfisher%2Fcloud-functions-typescript-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flatfisher%2Fcloud-functions-typescript-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flatfisher","download_url":"https://codeload.github.com/flatfisher/cloud-functions-typescript-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247361691,"owners_count":20926643,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloudfunctions","functions","gcp","nodejs","typescript"],"created_at":"2024-11-08T05:07:59.931Z","updated_at":"2025-04-05T16:08:44.591Z","avatar_url":"https://github.com/flatfisher.png","language":"JavaScript","readme":"# cloud-functions-typescript-template\ncloud-functions-typescript-templateはTypeScriptを使ったGoogle Cloud Functionsのベースプロジェクトです。このプロジェクトにはよく使いそうなツールや設定ファイル（例: Test toolやLint）が最初から入っています。もしオススメのツールや設定ファイルがあったら気軽にPull RequestやIssueを提出してください。\n\n### Prerequisites\nnpm, tsc, gcloud コマンドがインストール済\n\n## package.json の configを編集\n\n```\n\"config\": {\n  \"function_name\": \"関数の名前を定義,　この関数名はindex.tsの export function の名前と一致する必要があります\",\n  \"region\": \"europe-west1 or us-east1 or us-central1 or asia-northeast1\",\n  \"gcp_project\": \"デプロイ先のGCPプロジェクトのIDをいれます\",\n  \"runtime\": \"nodejs8\"\n}\n```\n\n## Build\n\n```\n$npm run build\n```\n\n## Test\n\n```\n$npm run test\n```\n\n## Deploy\n\n```\n$npm run deploy --prefix functions/src/\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflatfisher%2Fcloud-functions-typescript-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflatfisher%2Fcloud-functions-typescript-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflatfisher%2Fcloud-functions-typescript-template/lists"}