From: xangelo Date: Fri, 26 Jan 2024 16:54:38 +0000 (-0500) Subject: build X-Git-Url: https://git.xangelo.ca/?a=commitdiff_plain;h=bb161ca3fbadcd5f4a98d726582f86c506cef927;p=river.git build --- 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",