From 0791724a9fa4e73d28867acaafe59d466be1fa4a Mon Sep 17 00:00:00 2001 From: Ritesh Ghosh Date: Sat, 19 Aug 2023 22:49:39 +0530 Subject: feat: added `healthcheck` script --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 697cb2a..d9ab765 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,8 @@ "dev": "nodemon src/server.ts", "build": "tsc -p tsconfig.json", "prepare": "husky install", - "test": "jest" + "test": "jest", + "healthcheck": "curl -f http://localhost:4000/health" }, "repository": { "type": "git", -- cgit v1.2.3