npm-registry-guide/README.md
2021-12-25 09:07:53 +07:00

746 B

Config Proxy for Yarn (READ)

yarn config set registry https://r.ctdn.net

Config Proxy for NPM (READ)

npm config set registry https://r.ctdn.net

Config/Set NPM Registry

npm config set registry https://npm.cubetiqs.com

Config/Set NPM Scope For Private

npm config set scope @cubetiq

Login/Registry to NPM Registry

npm login https://npm.cubetiqs.com

(Optional) Add user command

npm adduser --registry https://npm.cubetiqs.com

Publish your NPM package (Default Registry)

npm publish

Publish your NPM package (Custom Registry)

npm publish --registry https://npm.cubetiqs.com

Unpublish your NPM package

npm unpublish