From b567ae5ace27ea03760294fb0b793b7e3edb9cfb Mon Sep 17 00:00:00 2001 From: Gabriel Barbosa Date: Tue, 28 Mar 2023 17:34:36 -0300 Subject: [PATCH] feat: add build and start script --- .gitignore | 3 ++- package.json | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f2ee3e3..16c47d7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ tmp node_modules public -.env \ No newline at end of file +.env +dist \ No newline at end of file diff --git a/package.json b/package.json index 366a89b..2d62f6c 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,8 @@ "main": "app.ts", "scripts": { "start:dev": "tsx watch ./src/main/app.ts", + "build": "tsc", + "start": "node ./dist/main/app.js", "lint:fix": "eslint --fix ./src/main" }, "author": "gabrielbsx",