A really simple Boilerplate for ReactJS
JavaScript HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
.babelrc
.editorconfig
.eslintrc
.gitignore
LICENSE
README.md
package.json
webpack.config.js

README.md

React boilerplate

dependencies Status devDependencies Status

React boilerplate is a super basic, unopinionated React boilerplate with minimal webpack configuration (that you can actually read and understand). It comes with all the bare minimum such as linting, hot reloading and web-pack-dev server.

Features

  • React
  • ES6 (es2015) using babel
  • Linting using eslint (airbnb config)

Installation

npm install
npm run build # creates the dist directory, read note below
npm start
open http://localhost:8080

Note: You need to create the dist directory, because webpack-dev-server is configured to serve dist directory.

Tasks

  • npm start starts the development server. Navigate to http://localhost:8080 and start working on your project
  • npm run lint lints your .js files
  • npm run build builds/bundles your app to the ./dist directory`