diff --git a/package.json b/package.json index 8176a9c..6dd5739 100644 --- a/package.json +++ b/package.json @@ -109,12 +109,12 @@ "semver": "7.5.2" }, "scripts": { - "clean": "rimraf '{src,test,bin,standalone}/**/*.{js,map,d.ts}' 'package.zip' '.tmp' 'tmp'", + "clean": "rimraf --glob '{src,test,bin,standalone}/**/*.{js,map,d.ts}' 'package.zip' '.tmp' 'tmp'", "lint": "eslint . --ext .ts --config .eslintrc", "lint:fix": "npm run lint -- --fix", "prebuild": "npm run clean", "download-libs": "npm run clean && bash script/download-libs.sh", - "clean-libs": "rimraf standalone/*.{js,map,d.ts} standalone/{windows**,linux**,darwin**} 'ffi'", + "clean-libs": "rimraf --glob standalone/*.{js,map,d.ts} standalone/{windows**,linux**,darwin**} 'ffi'", "build": "tsc --project tsconfig.build.json", "prerelease": "npm run snyk-protect", "release": "commit-and-tag-version",