From b9d1012ae7976909eb27182e22bc9fef5c6469c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20K=C3=A1rolyi?= Date: Sat, 29 Oct 2022 18:20:43 +0200 Subject: [PATCH] Add cleaning of output files --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2041177..305464e 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "Spam handler for KSOL IT Services GmbH", "main": "index.mjs", "scripts": { - "build:start": "npx tsc && node .", + "build:start": "npx tsc --build && node .", + "clean": "npx tsc --build --clean", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { @@ -16,7 +17,6 @@ ], "author": "László Károlyi", "license": "MIT+NIGGER", - "type": "module", "devDependencies": { "@tsconfig/node18-strictest-esm": "^1.0.1", "@types/node": "^18.11.7",