# React Starter

[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](http://commitizen.github.io/cz-cli/) [![Standard Version](https://img.shields.io/badge/release-standard%20version-brightgreen.svg?style=flat-square)](https://github.com/conventional-changelog/standard-version)

_新芽網路前端開發架構_

## 簡介

提供 command line tool 快速建立 react 專案，專案內容主要在 template 資料夾底下。

## 如何開始

Starter 有上 [npm](https://www.npmjs.com/package/@25sprout/react-starter) ，因此有兩種方法可以安裝 command line tool

1. `npm install -g @25sprout/react-starter`
2. `yarn global add @25sprout/react-starter`

### 踏出第一步

安裝完之後就可以使用 `react-starter` 指令

- `react-starter -h`: 看目前指令支援哪些參數
- `react-starter -V`: 目前指令版本
- `react-starter -n react-project`: 產生一個 `react-new-project` 專案，裡面內建 `react-starter` 環境
- `react-starter -n react-typescript-project -t`: 產生一個 `react-typescript-project` 專案，裡面內建 `typescript` 的 `react-starter` 環境
