From 8d2d624c0a6155184c47b0639914402fa541d108 Mon Sep 17 00:00:00 2001 From: Jon Ursenbach Date: Sat, 6 Nov 2021 22:39:54 -0700 Subject: [PATCH] chore: cleaning out the dist and types dirs before builds --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 7015a20..4b584e5 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "scripts": { "build": "tsc", "lint": "eslint . --ext .js,.ts", + "prebuild": "rm -rf dist/ @types/", "prepack": "npm run build", "prepare": "husky install", "pretest": "npm run lint",