diff --git a/package.json b/package.json index b573e6eb..ee702e3b 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "lint": "yarn lint:eslint && yarn lint:misc --check", "lint:changelog": "auto-changelog validate --prettier", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "build:clean": "rm -rf dist && yarn build", + "build:clean": "rimraf dist && yarn build", "build": "tsc --project .", "prepack": "./scripts/prepack.sh" }, @@ -65,6 +65,7 @@ "eslint-plugin-promise": "^6.1.1", "jest": "^29.7.0", "prettier": "^2.2.1", + "rimraf": "^3.0.2", "ts-jest": "^29.1.1", "typescript": "^5.1.0" }, diff --git a/yarn.lock b/yarn.lock index 0ed3d15b..ed18bf9c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1515,6 +1515,7 @@ __metadata: human-standard-token-abi: "npm:^2.0.0" jest: "npm:^29.7.0" prettier: "npm:^2.2.1" + rimraf: "npm:^3.0.2" ts-jest: "npm:^29.1.1" typescript: "npm:^5.1.0" peerDependencies: