Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for configuration file #62

Open
michalchudziak opened this issue Aug 3, 2021 · 0 comments
Open

Add support for configuration file #62

michalchudziak opened this issue Aug 3, 2021 · 0 comments

Comments

@michalchudziak
Copy link
Collaborator

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant