An open API service indexing awesome lists of open source software.

https://github.com/osdio/react-component-kit


https://github.com/osdio/react-component-kit

Last synced: 23 days ago
JSON representation

Awesome Lists containing this project

README

        

# react-component-kit

> 该项目是用于开发react-component的模板, 便于开发.

> ***注意:*** 目前还不支持test

## 主要命令说明

* `npm start`: 启动开发模式下的服务器, 这样默认会加载`examples/simple`下地index.html, 可以以此作为编写时的调试工具
* `npm run test:w`: test模式, 会一直watch文件变动, 然后执行test
* `npm test`: 测试
* `npm run build`: 编译打包库到`dist`文件夹下

## 目录说明:

* dist: 存放编译后的lib文件
* examples: 存放demo, 在开发的时候也可以拿`examples/simple`作为调试的载体
* lib: 组件源文件的存放处
* __tests__: 测试文件的存放处