I was working on a small project. My file structure looks like this -
MyProject
|
|_ package.json
|
|_ package-lock.json
|
|_ .eslintrc.json
|
|_ .babelrc
|
|_ tsconfig.json
|
|_ webpack.dev.config
|
|_ webpack.prod.config
|
|_ *some other files*
|
|_ src
|
|_ *source code files*
As you can see I have a number of configuration files. This makes the MyProject directory too cluttered up. Is there anyway to refactor these configuration files. Maybe like so -
MyProject
|
|_ package.json
|
|_ package-lock.json
|
|_ *some other files*
|
|_ configurations
| |
| |_ .eslintrc.json
| |
| |_ .babelrc
| |
| |_ tsconfig.json
| |
| |_ webpack.dev.config
| |
| |_ webpack.prod.config
|
|_ src
|
|_ *source code files*
such that everything still works. I was able to refactor the Webpack files successfully (but not the others). How can I achieve this?