# Quanta-Design 标准化组件库

## 快速开始

### 安装依赖

```bash
npm i
# or
yarn
```

### 启动

```bash
npm start
# or
yarn start
```

### 构建文档

```bash
npm run docs:build
# or
yarn run docs:build
```

### 构建组件库

```bash
npm run build
# or
yarn run build
```

### 发布

设置趣链 npm 私服

```bash
npm config set registry http://nexus.hyperchain.cn/repository/npm/
```

发布到 npm 包到私服，私服地址为 [http://nexus.hyperchain.cn/repository/npm-hosted/](http://nexus.hyperchain.cn/repository/npm-hosted/)

```bash
# 帐号密码：user1/hyperchain
npm login --registry=http://nexus.hyperchain.cn/repository/npm-hosted/
# 发布测试版本
npm publish --tag=beta --registry=http://nexus.hyperchain.cn/repository/npm-hosted/

```
