A environment code generator for work with npm packages.
- This command line tool will generate for you:
package.json
with all the relevant data and the testing dependencies with coverage include just ready to go..gitignore
for node js projects..npmignore
file excluding the test folder on the npm repository..eslint
a complete eslint config with the recommended settings..editorconfig
file with some basic confREADME
file with some relevant pkg info.. Badges for access and see the CIs: travis, codecov, bithound, codeclimate, etc. Also you will find a reference to the testing coverage tool.index.js
file.. Just the entry point to your project.test
just some tests of the boilerplate. These will run okey and the will generate the coverage files.. If you activate codecov you can just see the coverege on your README file.LICENSE
MIT file.
This tool will generate your npm package boilerplate with some CI's already pointing to your enviroment, a testing library ready to run (jasmine-node) and a nice readme file with all this magic already there. In order to activate the CI's for your project you only need go to the links on your generated readme file. With those link you can just activate the CIs that are free for open source projects ;)
npm i -g envinator
On an empty folder when you want to start your project just run:
envinator
You will get a prompt asking you for your package information. Complete the prompt and you are ready to go!
After generated all your initial files.. you can run npm install
and after npm test
for see the test runner in action.
This is the first version of envinator
it's not considering all posibles custom options yet.. But It might be, with some help this can grew up a lot. so
Contribution are always welcome!
- create a way to create a config file.. so
envinator
will work with another project templates.