# 🐸 @omni-door/tpl-component-react
The React Component project template

[![NPM downloads](http://img.shields.io/npm/dm/%40omni-door%2Ftpl-component-react.svg?style=flat-square)](https://www.npmjs.com/package/@omni-door/tpl-component-react)
[![npm version](https://badge.fury.io/js/%40omni-door%2Ftpl-component-react.svg)](https://badge.fury.io/js/%40omni-door%2Ftpl-component-react)
[![install size](https://packagephobia.now.sh/badge?p=%40omni-door%2Ftpl-component-react)](https://packagephobia.now.sh/result?p=%40omni-door%2Ftpl-component-react)
[![license](http://img.shields.io/npm/l/%40omni-door%2Ftpl-component-react.svg)](https://github.com/omni-door/tpls/blob/master/packages/tpl-component-react/LICENSE)

## Install
* Clone the repo: `git@github.com:omni-door/tpls.git`

* Install with [Npm](https://www.npmjs.com/package/@omni-door/tpl-component-react): `npm install @omni-door/tpl-component-react`

* Install with [Yarn](https://yarnpkg.com/en/package/@omni-door/tpl-component-react): `yarn add @omni-door/tpl-component-react`

## Templates
| folder | file |
| --- | --- |
| babel | babel.config.js |
| commitlint | commitlint.config.js |
| editor | .editorconfig |
| eslint | .eslintrc.js |
| ignore | .eslintignore & .gitignore & .npmignore & .prettierignore |
| jest | jest.config.js |
| new | the standard templates for `omni new` command |
| omni | omni.config.js |
| package | package.json |
| prettier | prettier.config.js |
| readme | README.md & README.zh-CN.md & DEV.md & DEV.zh-CN.md |
| source | the standard templates in `src` folder |
| storybook | .storybook/config.js & .storybook/addons.js & .storybook/manager-head.html & .storybook/webpack.config.js |
| stylelint | stylelint.config.js |
| tsconfig | tsconfig.json |
| vsc | .vscode/settings.json |