From bb161ca3fbadcd5f4a98d726582f86c506cef927 Mon Sep 17 00:00:00 2001 From: xangelo Date: Fri, 26 Jan 2024 11:54:38 -0500 Subject: [PATCH] build --- .gitignore | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index ea3ed66..3dfaeda 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ .yarn .env node_modules/ +dist/ diff --git a/package.json b/package.json index b835de0..4fd6a3c 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,8 @@ "private": true, "version": "0.0.1", "scripts": { - "dev": "yarn nodemon src/server.ts" + "dev": "yarn nodemon src/server.ts", + "build": "yarn tsc && cp -R src/public dist/src" }, "dependencies": { "better-sqlite3": "^9.3.0", -- 2.25.1