Skip to content

Commit 39cfc86

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,15 @@
1212
"tachyons": "^4.11.1"
1313
},
1414
"devDependencies": {
15+
"rimraf": "^3.0.2",
1516
"test-ipfs-example": "^2.0.3"
1617
},
1718
"scripts": {
1819
"start": "react-scripts start",
1920
"build": "react-scripts build",
2021
"eject": "react-scripts eject",
2122
"test": "test-ipfs-example",
22-
"clean": "rm -rf ./build"
23+
"clean": "rimraf ./build"
2324
},
2425
"eslintConfig": {
2526
"extends": "react-app"

0 commit comments

Comments
 (0)