Giter Site home page Giter Site logo

khizar / react-redux-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aggelog/react-redux-boilerplate

0.0 2.0 0.0 445 KB

React Redux Webpack boilerplate for static front-end applications.

License: MIT License

JavaScript 92.80% HTML 2.96% CSS 4.24%

react-redux-boilerplate's Introduction

React / Redux Boilerplate

CircleCI Coverage Status License: MIT

Main Stack Middleware Unit Testing Static Testing Other Libraries - Tools
ReactJS React-Router-Redux Ava.JS ESLint Webpack
ReduxJS Redux-Thunk Sinon.JS stylelint Redux-Form
ImmutableJS Redux-Logger Enzyme Axios
ECMAScript 6 nyc classnames

Requirements

  • Git
  • Node.js v6.x.x

Installation Instructions

####Mac

Open a terminal and:

Install Homebrew (if not already installed)

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install Git (if not already installed):

brew update
brew doctor
echo 'export PATH="/usr/local/bin:/usr/local/sbin:~/bin:$PATH"' >> ~/.bash_profile

Close and reopen the terminal window.

Install Node v6.x.x (if not already installed):

brew install node

Switch to the folder you want to store this project into and clone the repository:

git clone [git-repo-url]

or use your preferred git tool to do so.

Configure npm packages:

npm install

Usage

  • Builds your project into the /public folder.

    npm run build
  • Builds your project into the /public folder with debug mode.

    npm run build:debug
  • Launches Browsersync which will start your project in the default browser.

    npm run start
  • Runs static type checking both on JS and SCSS.

    npm run lint
  • Runs static type checking on JS.

    npm run eslint
  • Runs static type checking on SCSS.

    npm run stylelint
  • Runs the unit tests under /test directory.

    npm run test
  • Launches a local server that will run the unit tests every time code changes are made.

    npm run test:watch
  • Runs the unit tests and the code coverage ( it outputs the results both in console and in html under /coverage directory).

    npm run coverage
  • Launches a local server that will run the unit tests and the code coverage every time code changes are made.

    npm run cover:watch
  • Runs a check on the code coverage , if the any of the percentages are below the limits this command will fail.

    npm run check-coverage
  • Cleans your project.

    npm run clean

License

See the LICENSE file for license rights and limitations (MIT).

react-redux-boilerplate's People

Contributors

john-angelogiannis avatar

Watchers

James Cloos avatar Khizar avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.