Skip to content

romaindso/react-webpack-starter

Repository files navigation

[DEPRECATED] React Webpack Starter

Setup a React app with Webpack using the ES6 syntax and ESLint for code quality.

Installation

Clone this project, then run in your console :

$ npm install

Launch

$ npm start

By default the app is available on http://localhost:8080

Test

Execute test by running the following command :

$ npm test

Process coverage report :

$ npm run coverage

Coverage report is available in the test\coverage folder.

Configuration

Port number

The port number can be change in the package.json :

"scripts": {
    "start": "webpack-dev-server --port 8080 --hot --inline --content-base build/"
}

Browsers for testing

By default, tests are executed on Chrome. Use the browsers configuration option in the karma.conf.test.js file to override this behavior. (Firefox and Internet Explorer are available but disabled).

ESLint

All rules can be overwrite in the .eslintrc file.

About

Setup a React app with Webpack using the ES6 syntax and ESLint for code quality.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published