Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yorkie/npm-private-cli

NPM Extend Tool for your github private repo
https://github.com/yorkie/npm-private-cli

Last synced: 5 days ago
JSON representation

NPM Extend Tool for your github private repo

Awesome Lists containing this project

README

        

NPM-PRIVATE-CLI(1) - NPM Extend Tool for your github private repo
===========

### Installation
```sh
$ npm install -g npm-private-cli
```

### Usage

1. Add the `privateDenpendencies` to your `package.json`:
```
"privateDenpendencies": {
"Owner/repo-name": ">=0.0.1"
}
}
```

2. Add a pre-install script to pipeline your workflow:
```
"scripts": {
"pre-install": "npm-private -u yorkie -p your-password"
}
}
```

Conguratulations to you, then you could publish your private packages by git/github, and define your dependencies like public packages.

### License

MIT