From 46c1bd76f8c83239e665beae75da9206c170fbb0 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 23 Dec 2020 10:31:59 +0200 Subject: [PATCH] Add rimraf so that build is cross-platform. --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 0a062503..ecad132d 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "license": "MIT", "scripts": { "test": "jest", - "build": "rm -rf lib && tsc --project ./tsconfig.json", + "build": "rimraf lib && tsc --project ./tsconfig.json", "watch": "tsc --project ./tsconfig.json --watch", "lint": "prettier --check ." }, @@ -60,6 +60,7 @@ "jest": "^26.6.3", "mock-fs": "^4.13.0", "prettier": "^2.2.1", + "rimraf": "^3.0.2", "semantic-release": "^17.3.0", "ts-jest": "^26.4.4", "typescript": "^4.1.3"