react-native-auto-skeleton
Version:
π Automatically generates skeleton based on your existing UI layout without manual configuration.
22 lines (21 loc) β’ 595 B
JavaScript
/**
* @type {import('@react-native-community/cli-types').UserDependencyConfig}
*/
module.exports = {
dependency: {
platforms: {
android: {
javaPackageName: 'com.autoskeleton',
cmakeListsPath: 'generated/jni/CMakeLists.txt',
},
ios: {
// Π²ΠΊΠ»ΡΡΠ°Π΅ΠΌ codegen Π΄Π»Ρ iOS
codegenConfig: {
name: 'MyNativeModuleSpec', // ΠΌΠΎΠΆΠ΅Ρ Π±ΡΡΡ Π»ΡΠ±ΡΠΌ
type: 'components',
jsSrcsDir: './src', // ΠΏΠ°ΠΏΠΊΠ° Π³Π΄Π΅ Π»Π΅ΠΆΠ°Ρ Π²Π°ΡΠΈ *.ts ΠΈΠ»ΠΈ *.tsx ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½ΡΡ
},
},
},
},
};