npm-registry-guide/README.MD
2020-05-05 11:34:57 +07:00

35 lines
609 B
Markdown

# Config/Set NPM Registry
```bash
npm config set registry https://npm-registry.cubetiqs.com
```
# Config/Set NPM Scope For Private
```bash
npm config set scope @cubetiq
```
# Login/Registry to NPM Registry
```bash
npm login https://npm-registry.cubetiqs.com
```
#### (Optional) Add user command
```bash
npm adduser --registry https://npm-registry.cubetiqs.com
```
# Publish your NPM package (Default Registry)
```bash
npm publish
```
# Publish your NPM package (Custom Registry)
```bash
npm publish --registry https://npm-registry.cubetiqs.com
```
# Unpublish your NPM package
```bash
npm unpublish
```