0.1.0 • Published 4 years ago

dantd-demo v0.1.0

Weekly downloads
10
License
-
Repository
github
Last release
4 years ago

dantd-demo

预览地址

一个用于开发 dantd 组件的项目,由于组件库想使用 umijs/father,而在执行father build的时候,还不能指定文件路径入口,导致现在使用了一个单独的项目做组件的打包,发布。所以,目前的做法是,在这个项目 dantd-demo 完成开发,测试;在 dantd 中写文档,打包,发布。

Features

  • 支持 TypeScript
  • 支持 单元测试 Jest + @testing-library/react
  • 支持 less
  • 支持 eslint & prettier
  • 支持 react-app-rewired

Installation

$ npm install

Usage

# 开发
$ npm start

# 构建
$ npm run build

# 同步至 dantd
$ npm run sync

blog