From 426d2b453568e13e838d2b2316eb592c5e4c06d9 Mon Sep 17 00:00:00 2001 From: Andre Staltz Date: Sun, 25 Jun 2023 16:03:17 +0300 Subject: [PATCH] improve build script --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f1c0139..db2bbd1 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "typescript": "^5.0.2" }, "scripts": { - "build": "rm lib/**/*.d.ts && tsc", + "build": "rm -f lib/**/*.d.ts && tsc", "test": "node --test", "format-code": "prettier --write \"*.js\" \"(test|lib)/*.js\"", "format-code-staged": "pretty-quick --staged --pattern \"*.js\" --pattern \"(test|lib)/*.js\"",