https://github.com/ship-components/ship-components-cli
https://github.com/ship-components/ship-components-cli
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ship-components/ship-components-cli
- Owner: ship-components
- License: mit
- Created: 2018-10-12T01:16:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-17T08:52:45.000Z (over 7 years ago)
- Last Synced: 2025-01-11T13:30:01.845Z (over 1 year ago)
- Language: JavaScript
- Size: 41 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# ship-components-cli
Ship Components command line tools
## Installation
```shell
npm install ship-components-cli -g
```
### Command: install
npm install wrapper to handle caching based on a projects package-lock.json file.
#### Usage
```shell
$ 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