Skip to content

Yet another JS boilerplate using react, redux, mocha, and eslint

License

Notifications You must be signed in to change notification settings

tomasz-szymanek/react-redux-starter-kit

Repository files navigation

Codacy Badge

lightweight react-redux starter kit

Yet Another JavaScript Boilerplate using react, redux, mocha, eslint and scsslint

  • airbnb code style
  • http://sass-guidelin.es/ scss code style
  • hot reload
  • react-redux-router
  • react-chrome-devtools (time travel debugging)
npm install
npm start

fire unit tests:

npm test

sass linting:

gem install scss_lint
scss-lint

End-to-End Tests

E2E tests are run with Nightwatch + Selenium Standalone (installed via npm)

Setup

The nightwatch config defaults to Chrome, and assumes an OSX install. You may need to install and/or customize according to your setup;

  1. Install the Chrome Driver

On OSX, using Homebrew, it looks like this;

  brew install chromedriver
  1. Note the Chrome driver binary path;

    brew list chromedriver

  2. Configure nightwatch.json accordingly. E.g.

"webdriver.chrome.driver" : "/usr/local/Cellar/chromedriver/2.21/bin/chromedriver"
Running tests
npm run test:e2e

About

Yet another JS boilerplate using react, redux, mocha, and eslint

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published