- This is an extension of verdaccio-github-token which needs organisation membership to be public.
- The extended package does not need your organisation membership to be public and works with private membership for
unhaggle
. - Uses Github personal access tokens as password for authentication.
npm install verdaccio verdaccio-github-token@2.0.0 --registry https://npm.motoinsight.com
Use your personal access token as password and github username as login.
auth:
github-token:
org: unhaggle
org: string, required
People within this org will be able to auth (public/private membership, both work)
ttl: number, default=60e3
Cache time in ms. See lru-cache#maxAge.
max: number, default=Infinity
See lru-cache#max.
httpTimeout: number, default=10e3
See got#timeout.
httpRetries: number, default=2
See got#retries.
npm install
npm build
npm login --registry=https://npm.motoinsight.com
npm publish --registry=https://npm.motoinsight.com .
MIT, 2018 (c) Dmitriy Tsvettsikh