react-native-brownfield icon indicating copy to clipboard operation
react-native-brownfield copied to clipboard

Add support for configuration file

Open michalchudziak opened this issue 2 years ago • 0 comments

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

michalchudziak avatar Aug 03 '21 21:08 michalchudziak