A environment code generator for work with npm packages.
- This command line tool will generate for you:
package.jsonwith all the relevant data and the testing dependencies with coverage include just ready to go..gitignorefor node js projects..npmignorefile excluding the test folder on the npm repository..eslinta complete eslint config with the recommended settings..editorconfigfile with some basic confREADMEfile 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.jsfile.. Just the entry point to your project.testjust 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.LICENSEMIT 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
envinatorwill work with another project templates.