Just another boilerplate. To run the example
git clone https://github.com/gideonairex/test-server-rruc
.npm install
on the test-server-rruc. This will serve as the api server.- Inside the test-server-rruc run
node test-server.js
. This will run on port 3000
npm run test
- runs mocha unit testnpm start
- starts the dev server running on localhost:9999npm run build:production
- to build production codenpm run lint
- linting of code check .eslintrc for rulesnpm run e2e-test
- to run end to end testing using codeceptjsnpm run test-all
- to all tests from mocha, lint and e2e testnpm run check-updates
- checks all vulnerable packagesnpm run check-updates -- -u
- updates all vulnerable package
- react
- react-dom
- redux
- react-redux
- react-router
- react-router-redux
- babel-core
- babel-loader
- babel-preset-es2015
- babel-preset-react
- babel-preset-stage-0
- babel-polyfill
- webpack-dev-server
- webpack
- react-hot-loader
- file-loader
- react-addons-test-utils
- mocha
- expect
- expect-jsx
- webdriverio
- codeceptjs
- npm install selenium-standalone@latest -g
- selenium-standalone install
- selenium-standalone start
- Start selenium server
selenium-standalone start
- Then run
npm run e2e-test
- eslint
- eslint-plugin-react
- babel-eslint
npm run lint
- linting of code rules are in.eslintrc
- superagent
- node-sass
- sass-loader
- css-loader
- style-loader
- extract-text-webpack-plugin
- node-sass
- resolve-url-loader
- url-loader
User react-devtools extension.
- redux-devtools-dock-monitor
- redux-devtools
- redux-devtools-log-monitor
- redux-slider-monitor
- toggleVisibilityKey='ctrl-w'
- changePositionKey='ctrl-q'
- changeMonitorKey='ctrl-m'
- npm-check-updates
ncu
- check for updatesncu -u
- update all packages