Skip to content

Latest commit

 

History

History
57 lines (48 loc) · 2.47 KB

index.md

File metadata and controls

57 lines (48 loc) · 2.47 KB

gtni

Install your npm dependencies recursively with gtni as soon you pull, fetch or clone a git repo.

version dependencies devDependencies Downloads Travis branch maintenance

For full features list, please check Todo List below. Keep an eye on github for updated feature list

Installation

[sudo] npm install -g gtni

Usage

$gtni --help
Usage: gtni <command> [options]

Commands:
  pull   git pull and install npm dependencies
  fetch  git fetch and install npm dependencies
  clone  clone a git repository and install npm dependencies

Options:
  -h, --help     Show help                                             [boolean]
  --version      Show version number                                   [boolean]

Examples:
  [NODE_ENV=<env>] gtni pull [git-options]  git pull and install npm packages

I need your help to improve this module. Please send me your valuable suggestions and advices. I am all ears.

Todo List

  • Very basic stage of pull support
  • Pull support for most used git pull options
  • Fetch support for most used git fetch options
  • Support for git clone
  • NODE_ENV support for npm install
  • Show warnings during npm dependencies installation
  • Support for read and install dependencies when project has multiple package.json files
  • Install npm modules diffing git tree for various branch after doing git operations supported by gtni