https://github.com/osdio/react-component-kit
https://github.com/osdio/react-component-kit
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/osdio/react-component-kit
- Owner: osdio
- Created: 2015-12-15T06:15:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-04T09:27:27.000Z (over 9 years ago)
- Last Synced: 2025-05-07T08:57:53.208Z (23 days ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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__: 测试文件的存放处