Skip to content

Add support for configuration file #62

@michalchudziak

Description

@michalchudziak

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions