From ad6b736039436fcc5c0a262e5b575aa041427be3 Mon Sep 17 00:00:00 2001 From: Jan Scheffler Date: Tue, 27 Apr 2021 10:32:15 +0200 Subject: [PATCH] fix: change rm -rf to rimraf (#7168) Currently, `npm clean-lib` fails on windows with `cmd` because it does not now about `rm`. This change uses the already installed `rimraf` to do the job instead. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4547328c..b30f87f3 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "markdownlint-fix": "prettier --write **/README.md docs/api.md docs/troubleshooting.md", "lint": "npm run eslint && npm run build && npm run doc && npm run commitlint && npm run markdownlint", "doc": "node utils/doclint/cli.js", - "clean-lib": "rm -rf lib", + "clean-lib": "rimraf lib", "build": "npm run tsc && npm run generate-d-ts", "tsc": "npm run clean-lib && tsc --version && npm run tsc-cjs && npm run tsc-esm", "tsc-cjs": "tsc -b src/tsconfig.cjs.json",