UNPKG

@wolf-tp/react-native-boilerplate

Version:

React Native Template

14 lines (11 loc) 965 B
module.exports = { // Placeholder name that will be replaced in package.json, index.json, android/, ios/ for a project name. placeholderName: 'BaseApp', // 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 BaseApp', // 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: './template', // 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', };