35 lines
609 B
Plaintext
35 lines
609 B
Plaintext
|
# 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
|
||
|
```
|