@reuvenorg/react-native-boilerplate-ultimate
Version:
A powerful CLI tool for creating React Native projects with modular architecture. Generate, manage, and scaffold React Native applications with pre-built modules and best practices.
15 lines • 536 B
JavaScript
export function createTemplateContext(projectName, options = {}) {
const companyName = options.companyName || 'anonymous';
const sanitizedProjectName = projectName.toLowerCase().replace(/[^a-z0-9]/g, '');
const bundleId = `com.${companyName}.${sanitizedProjectName}`;
const packageName = bundleId;
const packagePath = bundleId.replace(/\./g, '/');
return {
projectName,
bundleId,
packageName,
companyName,
packagePath,
};
}
//# sourceMappingURL=template-context.js.map