New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

init-dev

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

init-dev

A module to install dev modules on every new project

latest
Source
npmnpm
Version
0.0.7
Version published
Maintainers
1
Created
Source

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

Keywords

dev

FAQs

Package last updated on 28 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts