Skip to content

Commit 7d3003b

Browse files
clean cmd added
1 parent 776d886 commit 7d3003b

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

package.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@
1313
"lint": "eslint .",
1414
"start": "react-native start",
1515
"test": "jest",
16-
"prepare": "patch-package"
16+
"prepare": "patch-package",
17+
"android:clean": "cd android && ./gradlew clean && rm -rf build && cd ..",
18+
"ios:clean": "rm -rf ios/Pods/ ios/Podfile.lock ios/build && rm -rf ~/Library/Developer/Xcode/DerivedData",
19+
"file:clean": "rm -rf package-lock.json node_modules && npm run ios:clean",
20+
"rn:clean": "npm run android:clean && watchman watch-del-all && npm run ios:clean && npm run file:clean"
1721
},
1822
"dependencies": {
1923
"@babel/core": "^7.20.0",
@@ -44,7 +48,7 @@
4448
"jest": "^29.6.3",
4549
"lodash-es": "^4.17.21",
4650
"luxon": "^3.5.0",
47-
"mirrorfly-reactnative-sdk": "file:mirrorfly-reactnative-sdk-2.1.0.tgz",
51+
"mirrorfly-reactnative-sdk": "^2.1.0",
4852
"moment": "^2.30.1",
4953
"patch-package": "^8.0.0",
5054
"prettier": "2.8.8",

0 commit comments

Comments
 (0)