startreact

1.8.0 • Public • Published

React Start Template

Installation

npm install -g startreact

Usage

startreact [project name]
// this will create a folder [project name] contains the template in current directory

About the Template

  • CLI to generate start files
  • Fully support ES6
  • Reasonable file structure for React and Redux
  • React Router support
  • Built-in Redux dev tools and middlewares
  • Full webpack setup for dev and production environment, including compiling JSX, different loaders, CSS module, Hot Module Reload, copying dependencies, building and deploying
  • Express server with customization and configuration including auth, logger, cor
  • Components and Reducer tests Setup with tape and enzyme
  • Nested React Router Setting

Npm scripts in the template

  • npm run test: run test
  • npm run dev: start the dev server and watch the files changing
  • npm run production: run production server
  • npm run build: build via webpack

Readme

Keywords

none

Package Sidebar

Install

npm i startreact

Weekly Downloads

0

Version

1.8.0

License

MIT

Last publish

Collaborators

  • haochuan