我目前正在考虑升级项目,特别是react-native
。
我当前的package.json看起来像这样:
"dependencies": {
"axios": "^0.16.2",
"babylon": "^6.18.0",
"firebase": "^4.8.0",
"geofire": "^4.1.2",
"iban": "0.0.8",
"lodash": "^4.17.4",
"moment": "^2.18.1",
"react": "16.0.0-alpha.12",
"react-native": "0.47.1",
"react-native-app-intro-slider": "^0.2.2",
"react-native-calendar-datepicker": "^1.2.2",
"react-native-check-box": "^2.0.0",
"react-native-credit-card-input-fullpage": "^0.2.0",
"react-native-datepicker": "^1.6.0",
"react-native-emoji": "^1.2.0",
"react-native-extra-dimensions-android": "^0.21.0",
"react-native-fast-image": "^5.0.3",
"react-native-fbsdk": "^0.6.0",
"react-native-fcm": "^14.0.1",
"react-native-fetch-blob": "^0.10.8",
"react-native-gifted-chat": "^0.2.7",
"react-native-google-places": "^2.4.2",
"react-native-image-picker": "^0.26.3",
"react-native-image-slider": "^1.1.5",
"react-native-keyboard-aware-scroll-view": "^0.2.9",
"react-native-linear-gradient": "^2.1.0",
"react-native-modal-datetime-picker": "^4.9.0",
"react-native-modal-picker": "0.0.16",
"react-native-router-flux": "^4.0.0-beta.24",
"react-native-side-menu": "^1.0.2",
"react-native-star-rating": "^1.0.8",
"react-native-storage": "^0.2.2",
"react-native-swiper": "^1.5.13",
"react-native-vector-icons": "^4.2.0",
"react-redux": "^5.0.5",
"recyclerlistview": "^1.3.4",
"redux": "^3.7.2",
"redux-persist": "^5.9.1",
"redux-thunk": "^2.2.0",
"stripe": "^5.4.0",
"tipsi-stripe": "^4.5.3",
"twilio": "^3.10.1",
"uuid-v4": "^0.1.0"
},
如您所见,我有几个部门,所以我有点害怕升级,只是意识到它不再起作用了。我对git也不太熟悉,我只想创建项目的副本,然后尝试将react-native
至少升级到 react-native: 0.50.0
。有没有比复制项目和搞乱更好的方法了?