update dev cli

This commit is contained in:
Hongbo Wu
2024-04-09 10:43:33 +08:00
parent 90fe5e8109
commit c4882c2542

View File

@ -18,6 +18,7 @@
"start": "functions-framework --target=textToSpeechHandler",
"start_streaming": "functions-framework --target=textToSpeechStreamingHandler",
"dev": "concurrently \"tsc -w\" \"nodemon --watch ./build/ --exec npm run start\"",
"dev_streaming": "concurrently \"tsc -w\" \"nodemon --watch ./build/ --exec npm run start_streaming\"",
"gcloud-deploy": "gcloud functions deploy text-to-speech --gen2 --entry-point=textToSpeechHandler --trigger-http --allow-unauthenticated --region=us-west2 --runtime nodejs14",
"deploy": "yarn build && yarn gcloud-deploy"
},
@ -45,6 +46,7 @@
"linkedom": "^0.14.12",
"microsoft-cognitiveservices-speech-sdk": "1.30",
"natural": "^6.2.0",
"nodemon": "^2.0.15",
"underscore": "^1.13.4"
},
"volta": {