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

Support loading config from package.json #280

Closed
samhatoum opened this issue Feb 16, 2016 · 2 comments
Closed

Support loading config from package.json #280

samhatoum opened this issue Feb 16, 2016 · 2 comments

Comments

@samhatoum
Copy link
Member

This is a good idea for frameworks like Meteor

Requested here: meteor/todos#15

Another option to use a config file with Meteor is to put the config file under .config/chimp.js so that Meteor ignores the dot directory, then pass the file to Chimp as the first param, like this:

chimp .config/chimp.json <other options>

@ghost
Copy link

ghost commented Feb 22, 2016

There are a lot other ways to prevent Meteor from loading the config file as app file:

  • Put the config file in the imports/ folder (Meteor 1.3)
  • Name the config file, so it starts with a dot (also works with a parent folder with dot)
  • Put the Meteor app in a subdirectory of the repository. E.g. src/.

@samhatoum
Copy link
Member Author

This issue is being tracked in Chimpy
https://github.com/TheBrainFamily/chimpy/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant