dfyh-react-web
v1.0.4
Published
```
Downloads
5
Readme
🌟 前端组件库
📒 目录介绍
├─ .editorconfig
├─ .fatherrc.ts 组件打包-father 配置
├─ dist 组件打包后生成的文件
├─ docs-dist 组件文档打包后生成的文件-文档部署使用
├─ .gitignore
├─ .prettierignore
├─ .prettierrc
├─ docs 文档存放路径
│ ├─ guide
│ ├─ index.en-US.md
│ └─ index.md 首页展示
├─ LICENSE
├─ package.json
├─ README.en-US.md
├─ README1.md
├─ src 组件主目录
│ ├─ components 基础组件
│ │ ├─ Alert
│ ├─ design 设计
│ │ ├─ Colors
│ │ └─ Font
│ ├─ global.less 全局样式
│ ├─ index.d.ts
│ ├─ index.ts
│ └─ styles 自定义样式.umirc.ts
├─ .umirc.ts 组件文档配置
├─ tsconfig.json
├─ typings.d.ts
└─ yarn.lock
其余文件可自行查阅了解。
🤖 命令介绍
| 名称 | 描述 | 备注 |
| ----------------------- | -------------- | -------------------------------------------------------------------- |
| npm run start | 项目启动 | 使用 dumi,组件开发和文档开发在一起 |
| npm run test | 组件测试 | - |
| npm run test:coverage | 代码覆盖率查看 | - |
| npm run prettier | 代码美化 | - |
| npm run build | 组件打包 | 使用 father 工具 |
| npm run release | 组件打包发布 | - |
| npm run docs:build | 文档打包 | - |
| npm run docs:deploy | 文档发布 | 这里默认是使用了 GitHub Pages |
| npm run deploy | 文档打包发布 | - |
