Skip to content

Commit

Permalink
fix: build on windows (#539)
Browse files Browse the repository at this point in the history
  • Loading branch information
WingGao authored and janryWang committed Dec 25, 2019
1 parent 8550732 commit 8ad9932
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"scripts": {
"bootstrap": "lerna bootstrap",
"clean": "lerna clean",
"build": "rm -rf packages/*/lib packages/*/esm && lerna run build",
"build": "rimraf -rf packages/*/lib packages/*/esm && lerna run build",
"build:docs": "node ./scripts/docs.js build -i docs -o docs",
"start": "node ./scripts/docs.js start -i docs",
"sort-api": "node ./scripts/sort-api-table.js",
Expand Down Expand Up @@ -113,6 +113,7 @@
"react-test-renderer": "^16.11.0",
"remark-parse": "^6.0.3",
"remark-stringify": "^6.0.4",
"rimraf": "^3.0.0",
"scheduler": "^0.15.0",
"semver-regex": "^2.0.0",
"staged-git-files": "^1.1.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"npm": ">=3.0.0"
},
"scripts": {
"build": "rm -rf lib && tsc --declaration"
"build": "rimraf -rf lib && tsc --declaration"
},
"devDependencies": {
"typescript": "^3.5.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"npm": ">=3.0.0"
},
"scripts": {
"build": "rm -rf lib && tsc --declaration"
"build": "rimraf -rf lib && tsc --declaration"
},
"devDependencies": {
"typescript": "^3.5.2"
Expand Down

0 comments on commit 8ad9932

Please sign in to comment.