Skip to content

Commit a8a908b

Browse files
authored
chore: windows compat (#3405)
`rm -rf` isn't a thing on windows - use the cross-platform `rimraf` module instead.
1 parent b446740 commit a8a908b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
"build:js": "aegir build",
4747
"build:types": "tsc --build",
4848
"coverage": "npx nyc -r html npm run test:node -- --bail",
49-
"clean": "rm -rf ./dist",
50-
"dep-check": "aegir dep-check -i typescript -i ipfs-core"
49+
"clean": "rimraf ./dist",
50+
"dep-check": "aegir dep-check -i typescript -i ipfs-core -i rimraf"
5151
},
5252
"dependencies": {
5353
"any-signal": "^2.0.0",
@@ -84,6 +84,7 @@
8484
"it-all": "^1.0.4",
8585
"it-concat": "^1.0.1",
8686
"nock": "^13.0.2",
87+
"rimraf": "^3.0.2",
8788
"typescript": "^4.0.3"
8889
},
8990
"engines": {

0 commit comments

Comments
 (0)