From 7ab1f40000c72eaabf1664c726734c61abb2d62c Mon Sep 17 00:00:00 2001 From: Lyton Date: Sun, 3 Nov 2024 19:10:41 -0600 Subject: [PATCH] fix: changed entry point and start script --- api/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/package.json b/api/package.json index 07fd610..850c9b6 100644 --- a/api/package.json +++ b/api/package.json @@ -2,10 +2,10 @@ "name": "api", "version": "1.0.0", "description": "", - "main": "src/index.ts", + "main": "src/server.ts", "scripts": { "build": "tsc", - "start": "node src/index.ts", + "start": "nodemon ./dist/server.js", "dev": "nodemon ./src/server.ts", "test": "echo \"Error: no test specified\" && exit 1", "prettier": "prettier --single-quote --write 'src/**/*.{js,ts}'",