npm 사설 저장소 만들기
npm install -g sinopia
config.yaml 수정
# a list of users
users:
admin:
password: 비번
npm set registry "http://localhost:4873/"
npm config get registry
npm --registry http://localhost:4873/
배포
npm publish
기존 repo
https://registry.npmjs.org/
~/.npmrc 에 registry 에 url 추가
윈도우는 %userprofile%/.npmrc 파일에 추가하시면 됩니다.