Skip to content

Commit a68e7ba

Browse files
committed
🔨 Use rimraf instead of rm command
Signed-off-by: kei-g <km.8k6ce+github@gmail.com>
1 parent 763f3a2 commit a68e7ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
"eslint": "^7.32.0",
5353
"mocha": "^9.1.0",
5454
"nyc": "^15.1.0",
55+
"rimraf": "^3.0.2",
5556
"terser": "^5.7.1",
5657
"ts-node": "^10.2.1",
5758
"typescript": "^4.3.5",
@@ -84,9 +85,10 @@
8485
},
8586
"scripts": {
8687
"build": "npm run lint && tsc && terser build/async-iterable-queue.js -c -m -o lib/async-iterable-queue.js --toplevel",
87-
"clean": "rm -fr .nyc_output/ build/ coverage/ lib/*.d.ts lib/*.js",
88+
"clean": "rimraf .nyc_output/ build/ coverage/ lib/*.d.ts lib/*.js",
8889
"cover": "nyc --check-coverage -r html -r text _mocha",
8990
"lint": "eslint *.ts",
91+
"prebuild": "rimraf build/ lib/*.d.ts lib/*.js",
9092
"prepublishOnly": "npm run build",
9193
"test": "npm run lint && npm run cover"
9294
},

0 commit comments

Comments
 (0)