From 8414ee1ac1c5cfbc12adcf99688b2ebb15dacbb0 Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Tue, 16 Nov 2021 13:08:18 +0100 Subject: [PATCH] update: remove js files after declaration generation Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com> --- package.json | 2 +- tsconfig.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 412ee89f..3c34563b 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "scripts": { "prepare": "ts-patch install -s", "dev": "vite", - "build": "vite build && tsc", + "build": "vite build && tsc && rm -rf tmp", "prepublishOnly": "yarn build", "test": "exit 0;", "lint:js": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path .gitignore .", diff --git a/tsconfig.json b/tsconfig.json index 940af948..da3def3c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "outDir": "./tmp", "baseUrl": ".", "module": "ESNext", "target": "es2020",