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.
- React
- ES6 (es2015) using babel
- Linting using eslint (airbnb config)
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.
npm start
starts the development server. Navigate to http://localhost:8080 and start working on your projectnpm run lint
lints your .js filesnpm run build
builds/bundles your app to the./dist
directory`