diff --git a/package.json b/package.json index 16c8dc7b9..358880fa8 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "jest-diff": "27.0.6", "jsonschema": "1.4.0", "npm-run-all": "4.1.5", + "rimraf": "3.0.2", "svg-path-bbox": "1.0.1", "svg-path-segments": "1.0.0", "svglint": "1.0.8", @@ -32,7 +33,7 @@ }, "scripts": { "build": "node scripts/build/package.js", - "clean": "rm -f icons/*.js index.js", + "clean": "rimraf icons/*.js index.js", "lint": "run-s our-lint jsonlint svglint wslint", "our-lint": "node scripts/lint/ourlint.js", "jsonlint": "node scripts/lint/jsonlint.js",