/minimalism

:radio_button: Uses package.json as a TARDIS to store unwanted config files. Expands on install.

Primary LanguageJavaScript

Minimalism

MIT License Build Status Code Climate Coverage Status NPM Downloads NPM Dependencies

Cleans up the mess in your GitHub project root by allowing to move config files into package.json.

Installation

  • npm install --save minimalism

Usage

  1. 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"
	}
}
  1. Add minimalism as a dependency.
  2. Add this postinstall script to your package.json.
{
	"scripts": {
		"postinstall": "node node_modules/minimalism/source"
	}
}
  1. .gitignore the unwanted config-files so they won't show up in your commits (tip: you can include your .gitignore in your package.json)