Skip to content

Commit

Permalink
chore: add clean script to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Joona Ojapalo committed Aug 26, 2022
1 parent 139bd1e commit a22171d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
],
"scripts": {
"setup": "yarn install && yarn build-workspaces && yarn node14-patch",
"clean": "yarn clean:generated yarn && yarn clean:node_modules",
"clean:node_modules": "lerna run clean && rm -rf node_modules",
"clean:generated": "find app -type d -name __generated__ | xargs rm -r",
"static": "mkdir -p _static/js; mkdir -p _static/css; cp -r static/* _static",
"win-static": "xcopy static\\* _static /e /s /y /i& if not exist _static\\js mkdir _static\\js& if not exist _static\\css mkdir _static\\css",
"prebuild": "yarn run static && yarn run relay",
Expand Down

0 comments on commit a22171d

Please sign in to comment.