From bb70bf58fb1a09e2c856bd32e679037301f37589 Mon Sep 17 00:00:00 2001 From: Nicolai Ort Date: Wed, 23 Dec 2020 15:43:03 +0100 Subject: [PATCH] Added the static files to the build step ref #52 --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b208b26..e4b5ba5 100644 --- a/package.json +++ b/package.json @@ -56,6 +56,7 @@ "@types/node": "^14.14.9", "@types/uuid": "^8.3.0", "axios": "^0.21.0", + "cp-cli": "^2.0.0", "jest": "^26.6.3", "nodemon": "^2.0.6", "rimraf": "^2.7.1", @@ -67,7 +68,7 @@ }, "scripts": { "dev": "nodemon src/app.ts", - "build": "tsc", + "build": "rimraf ./dist && tsc && cp-cli ./src/static ./dist/static", "docs": "typedoc --out docs src", "test": "jest", "test:watch": "jest --watchAll",