Minimal React, Webpack, Babel, Jest and ESlint setup.
http://chrispanican.com/react-boilerplate-setup/
Clone this repository and navigate to project directory. Run the commands below.
npm install
to install the required modulesnpm start
and a browser will popup
src/index.js
will be the default entry point of the project. It can always be changed in webpack.config.js
.
npm start
start code in development modenpm test
run test casesnpm run test:coverage
run test casesnpm run build
build application to productionnpm run lint
check for syntax errors/inaccuraciesnpm run lint:fix
autofix linting errors (if applicable)