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
npm test
gem install scss_lint
scss-lint
E2E tests are run with Nightwatch + Selenium Standalone (installed via npm)
The nightwatch config defaults to Chrome, and assumes an OSX install. You may need to install and/or customize according to your setup;
- Install the Chrome Driver
On OSX, using Homebrew, it looks like this;
brew install chromedriver
-
Note the Chrome driver binary path;
brew list chromedriver
-
Configure nightwatch.json accordingly. E.g.
"webdriver.chrome.driver" : "/usr/local/Cellar/chromedriver/2.21/bin/chromedriver"
npm run test:e2e