Skip to content

React Starter - web app boilerplate (React, Webpack, Babel, React Router, Code Splitting, Styled Components, Jest, Enzyme)

Notifications You must be signed in to change notification settings

ruanmer/react-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-starter

React Starter is a web app boilerplate using React, Styled Components (or CSS Modules), Webpack, Babel.

Install

git clone https://github.com/ruanmer/react-starter
cd react-starter
yarn install
yarn release
yarn start

Features

Commands

Start

yarn start

Runs your application (from the dist directory) in the browser (http://localhost:3000). You need to generate a dist first.

Dev

yarn dev

Runs your application in the browser (http://localhost:9000). Auto-compile & auto-reload the server after any file changes within the src directory.

Build

yarn build

Compiles all files (set NODE.ENV=development). Output is sent to the dist directory.

Release

yarn release

Compiles all files (set NODE.ENV=production). Output is sent to the dist directory.

Bundle Analyzer

yarn release --analyze

Compiles all files and runs bundle analyzer in the browser (http://localhost:8888).

Tests

yarn test
yarn test --watch
yarn test --coverage

Linters

yarn lint

About

React Starter - web app boilerplate (React, Webpack, Babel, React Router, Code Splitting, Styled Components, Jest, Enzyme)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published