Skip to content

Commit

Permalink
fix: clean directories before running build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
koba04 committed Sep 9, 2021
1 parent 393fd52 commit 214150c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"eslint": "^7.20.0",
"lerna": "^4.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1"
"prettier": "^2.2.1",
"rimraf": "^3.0.2"
}
}
2 changes: 1 addition & 1 deletion packages/swr-devtools-extensions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build:zip": "zip -r extension.zip dist/",
"build:webpack": "webpack --mode production",
"build": "run-s build:webpack build:zip",
"clean": "rm -rf dist/",
"clean": "rimraf dist/",
"lint": "tsc --noEmit",
"start": "webpack --mode development --watch"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/swr-devtools-panel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
"author": "koba04",
"scripts": {
"start": "tsc --watch",
"clean": "rimraf lib",
"prebuild": "yarn clean",
"build": "tsc",
"lint": "tsc --noEmit"
},
Expand Down
2 changes: 2 additions & 0 deletions packages/swr-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"homepage": "https://github.com/koba04/swr-devtools",
"bugs": "https://github.com/koba04/swr-devtools/issues",
"scripts": {
"clean": "rimraf lib",
"start": "tsc --watch",
"prebuild": "yarn clean",
"build": "tsc",
"lint": "tsc --noEmit"
},
Expand Down

0 comments on commit 214150c

Please sign in to comment.