Skip to content

Commit

Permalink
Add npm run clean script (#3846)
Browse files Browse the repository at this point in the history
  • Loading branch information
dharit-tan committed Aug 3, 2023
1 parent 68bd638 commit 6988a03
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
"install-hooks": "mookme init --only-hook --skip-types-selection",
"lint": "lerna run lint",
"lint:fix": "lerna run lint:fix",
"clean": "rm -rf packages/web/build* && cd packages/mobile && npm run clean:auto && cd ../..",
"clean:modules": "rm -rf node_modules && rm -rf packages/*/node_modules",
"WEB========================================": "",
"web:dev": "cd packages/web && npm run start:dev",
"web:stage": "cd packages/web && npm run start:stage",
Expand Down
1 change: 1 addition & 0 deletions packages/mobile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"typecheck:watch": "tsc --watch",
"typecheck:trace": "tsc --generateTrace tsc_trace",
"clean": "react-native-clean-project",
"clean:auto": "react-native clean-project-auto",
"preinstall": "npm-force-resolutions",
"postinstall": "patch-package",
"verify": "concurrently \"npm:typecheck\" \"npm:lint:fix\""
Expand Down

0 comments on commit 6988a03

Please sign in to comment.