react-native-navigation的迁移库

react-native.config.js 578B

12345678910111213141516171819202122232425
  1. module.exports = {
  2. dependency: {
  3. platforms: {
  4. ios: {},
  5. android: {
  6. sourceDir: './lib/android/app/',
  7. packageImportPath: 'import com.reactnativenavigation.react.NavigationPackage;',
  8. packageInstance: 'new NavigationPackage(reactNativeHost)',
  9. }
  10. },
  11. assets: [],
  12. hooks: {
  13. postlink: "node node_modules/react-native-navigation/autolink/postlink/run"
  14. }
  15. },
  16. project: {
  17. ios: {
  18. project: './playground/ios/playground.xcworkspace',
  19. },
  20. android: {
  21. sourceDir: './playground/android/',
  22. },
  23. },
  24. };