React Starter - web app boilerplate (React, Webpack, Babel, React Router, Code Splitting, Styled Components, Jest, Enzyme)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
scripts
src
.babelrc
.editorconfig
.eslintrc.json
.gitignore
README.md
package.json
yarn.lock

README.md

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