0.5.0 • Published 7 years ago

envinator v0.5.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Build Status codecov npm Turbo Commit bitHound Code Climate

envinator

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 conf
    • README 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.

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 ;)

Install

npm i -g envinator

How to use

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.

Considerations

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!

TODO

  • create a way to create a config file.. so envinator will work with another project templates.