ship-components-cli

0.2.0 • Public • Published

ship-components-cli

Ship Components command line tools

Installation

npm install ship-components-cli -g

Command: install

npm install wrapper to handle caching based on a projects package-lock.json file.

Usage

$ sc install
 
Wrapper for npm install that provides a caching layer for node_modules/
 
Options:
  --help                 Show help                                     [boolean]
  --version              Show version number                           [boolean]
  --production, -p       Do not install devDependencies. Does not work with --ci
                                                       [boolean] [default: true]
  --ci                   Use npm ci instead of npm install
                                                      [boolean] [default: false]
  --gzip, -g             Use gzip to compress tarballs [boolean] [default: true]
  --clean, -c            Delete existing node_modules before installing. This
                         happens automatically when using --ci
                                                      [boolean] [default: false]
  --cache-directory, -d  The folder where the tarballs are saved
                                                               [default: "~/.sc-cache"]

History

  • 0.2.0 - Configure tar command to be non blocking
  • 0.1.2 - Fixed issue with ~ not resolving correctly
  • 0.1.1 - Changed default directory to ~/.sc-cache and fixed duration timing
  • 0.1.0 - Initial commit

Readme

Keywords

none

Package Sidebar

Install

npm i ship-components-cli

Weekly Downloads

0

Version

0.2.0

License

MIT

Unpacked Size

10.1 kB

Total Files

12

Last publish

Collaborators

  • mreaglejr
  • isuttell
  • thinktankshark
  • jaredboone