forked from thecodingmachine/react-native-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.config.js
15 lines (12 loc) · 1007 Bytes
/
template.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
module.exports = {
// Placeholder name that will be replaced in package.json, index.json, android/, ios/ for a project name.
placeholderName: 'Boilerplate',
// 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: 'TheCodingMachine React Native Boilerplate',
// 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: './post-init.script.js',
};