-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
33 lines (33 loc) · 1.15 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"name": "ts-template",
"version": "1.3.0",
"description": "A typescript function which is a template for building cloud functions on GCP quickly.",
"repository": "jgunnink/typescript-cloud-function-template",
"main": "dist/index.js",
"scripts": {
"start": "npx tsc-watch --onSuccess 'npx @google-cloud/functions-framework --target=helloWorld'",
"deploy": "gcloud functions deploy ts-template --gen2 --runtime=nodejs20 --trigger-http --allow-unauthenticated --region australia-southeast1 --entry-point=helloWorld",
"build": "npx tsc",
"test": "env TS_NODE_COMPILER_OPTIONS='{\"module\": \"commonjs\" }' nyc --reporter=lcov mocha -r ts-node/register 'tests/**/*.ts'"
},
"engines": {
"node": ">=20.0.0 <21.0.0"
},
"author": "JK Gunnink",
"license": "MIT",
"dependencies": {
"@google-cloud/functions-framework": "^3.4.5",
"typescript": "^5.8.2"
},
"devDependencies": {
"@types/chai": "^4.3.17",
"@types/express": "^5.0.0",
"@types/mocha": "^10.0.10",
"@types/node": "^22.13.8",
"chai": "^4.5.0",
"mocha": "^11.1.0",
"nyc": "^17.1.0",
"ts-node": "^10.9.2",
"tsc-watch": "^6.2.1"
}
}