Skip to content

Latest commit

 

History

History
30 lines (17 loc) · 901 Bytes

README.md

File metadata and controls

30 lines (17 loc) · 901 Bytes

ts-cloud-function-starter

TypeScript Google Cloud Functions starter template

Available Scripts

In the project directory, you can run:

npm test

Runs the project test suite, and reports the results of each test.

npm build

Builds the project for production to the dist folder.
It correctly bundles the project in production mode and optimizes the build for the best performance.

npm lint

Lints the project files.

npm start

Runs the cloud function. Refer here for usage instructions.

npm deploy

Deploys the function to GCP, before running this script, please fill in the config parameters in package.json. Refer here for possible trigger types.

License

MIT