0.0.7 • Published 7 years ago

init-dev v0.0.7

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

init-dev

Automate the packages you want to install when you create a new Node project

Install

npm i -g init-dev

Usage

Create a .json file with a list of the modules you would like to have in any new project.

For eaxmple

[{ 
  "module" : "standard", 
  "tasks" : {
    "prestart" : "standard"
  },
  "extend" : {
    "standard" : {
      "ignore": ["dist/*"]
    }
  }
 }, {
  "module" : "husky",
  "tasks": {
    "precommit" : "standard",
    "prepush" : "standard"
  }
}]

You can either use a local file or a remote file, like the one I create on gist for myself

As a first step, run the configuration initDev --config that will ask you the path to this .json file and read the modules you want and create a .dev.package.json on your home folder.

Once you create a new project you can now run:

initDev --install

an all the packages you need to start developing will be installed.

#Extras Run initDev --info to check which modules are you installing