From 4276a8ac14d7a3d453dc3d8d19355852419bbd33 Mon Sep 17 00:00:00 2001 From: ray-1337 <33544674+ray-1337@users.noreply.github.com> Date: Sun, 4 Jun 2023 22:21:34 +0200 Subject: [PATCH] add command to transpile typescript --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 51d057a..1e9cc57 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,8 @@ "url": "https://github.com/ray-1337/node-ufw/issues" }, "scripts": { - "test": "ava Test.ts" + "test": "ava Test.ts", + "build": "rm -rf dist && tsc -p tsconfig.json" }, "ava": { "extensions": [ "ts" ],