diff --git a/template.config.js b/template.config.js new file mode 100644 index 0000000..68d3794 --- /dev/null +++ b/template.config.js @@ -0,0 +1,14 @@ +module.exports = { + // Placeholder name that will be replaced in package.json, index.json, android/, ios/ for a project name. + placeholderName: 'ProjectName', + + // Placeholder title that will be replaced in values.xml and Info.plist with title provided by the user. + // We default this value to 'Hello App Display Name', which is default placeholder in react-native template. + titlePlaceholder: 'Hello App Display Name', + + // Directory with the template which will be copied and processed by React Native CLI. Template directory should have package.json with all dependencies specified, including `react-native`. + templateDir: '.', + + // Path to script, which will be executed after initialization process, but before installing all the dependencies specified in the template. This script runs as a shell script but you can change that (e.g. to Node) by using a shebang (see example custom template). + // postInitScript: './script.js', +}; \ No newline at end of file