Configurations for JavaScript libraries such as Babel, Nyc, Eslint, and many others can be specified in resource files or within the package.json
.
For example, Babel can be set up in a .babelrc
file or through a babel entry in the package.json
.
What are the benefits and drawbacks of each method?