Minimalism
Cleans up the mess in your GitHub project root by allowing to move config files into package.json.
Installation
npm install --save minimalism
Usage
- Include unwanted config files in your
package.json
{
"minimalism": {
".travis.yml": "sudo: false\nlanguage: node_js\nnode_js:\n - 'stable'\n - '4.2.0'\nscript: npm run travis"
}
}
- Add
minimalism
as a dependency. - Add this postinstall script to your
package.json
.
{
"scripts": {
"postinstall": "node node_modules/minimalism/source"
}
}
.gitignore
the unwanted config-files so they won't show up in your commits (tip: you can include your.gitignore
in yourpackage.json
)