Skip to content

Commit dc72dde

Browse files
committed
Clean build artifacts from apps
1 parent 2c9b8c0 commit dc72dde

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

apps/BasicExample/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@
1111
"ts-check": "yarn tsc --noEmit",
1212
"lint-js": "eslint --ext '.js,.ts,.tsx' src/ && yarn prettier --check './src/**/*.{js,jsx,ts,tsx}'",
1313
"format-js": "prettier --write --list-different './src/**/*.{js,jsx,ts,tsx}'",
14-
"clean": "rm -rf node_modules && cd ios && rm -rf Pods Podfile.lock",
14+
"clean-android": "rm -rf android/.gradle android/.kotlin android/build",
15+
"clean-ios": "rm -rf ios/build ios/Pods ios/Podfile.lock",
16+
"clean": "rm -rf node_modules && yarn clean-android && yarn clean-ios",
1517
"pods": "cd ios && bundle install && bundle exec pod install"
1618
},
1719
"dependencies": {

apps/MacOSExample/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"lint": "eslint .",
99
"start": "react-native start",
1010
"test": "jest",
11-
"clean": "rm -rf node_modules && cd macos && rm -rf Pods Podfile.lock",
11+
"clean": "rm -rf node_modules && cd macos && rm -rf build Pods Podfile.lock",
1212
"pods": "cd macos && bundle install && bundle exec pod install"
1313
},
1414
"dependencies": {

0 commit comments

Comments
 (0)