Description
We need to add support for configuration file instead of adding various CLI options.
A react-native-brownfield config can be created in these three ways (ordered by priority):
react-native-brownfield.config.js
react-native-brownfield.config.json
The react-native-brownfield field in package.json
Acceptance criteria
- a
readConfiguration function available in cli/helpers directory
- the function in question accepts path to config file as the only argument
- the function returns correctly parsed configuration object
Description
We need to add support for configuration file instead of adding various CLI options.
A
react-native-brownfieldconfig can be created in these three ways (ordered by priority):react-native-brownfield.config.jsreact-native-brownfield.config.jsonThe
react-native-brownfieldfield inpackage.jsonAcceptance criteria
readConfigurationfunction available incli/helpersdirectory