micromata / Baumeister

Unmaintained – :construction_worker: The aim of this project is to help you to build your things. From Bootstrap themes over static websites to single page applications.
MIT License
171 stars 37 forks source link

Externalize Baumeister specific config #212

Closed nicolaisueper closed 6 years ago

nicolaisueper commented 6 years ago

Hey there,

So far we're configuring Baumeister via the baumeister property inside the package.json.

I think we should consider to externalize the config into something like baumeister.json, because if we add more user specific configs we'll bloat up our package.json.

mischah commented 6 years ago

I feel it’s like a trend to add the settings of tools to a nested property within package.json.

See:

But maybe I’m wrong. Plus, I really don’t have a strong option on that one.

I guess this issue needs a few 👍 / 👎 .

mischah commented 6 years ago

Further context: We will blow the settings with two properties to expose webpack plugin configs as soon as #211 is merged.

mischah commented 6 years ago

There actually is one argument for using an external config file. Which is easier configurability when we are transferring Baumeister to an own CLI.

mischah commented 6 years ago

Let’s do this.

baumeister.json seems to be a good idea.