React / Redux Client

Create new package.json ::: npm init -y

Structure:

  • <app_name>
    • dist
      • index.html
      • {bundle.js} //generated by webpack
    • src
      • index.js //app entry point

Webpack:

npm install –save-dev webpack webpack-dev-server

npm install –save-dev babel-core babel-loader babel-preset-es2015 babel-preset-react

React:

npm install –save react react-dom

npm install –save-dev react-hot-loader

npm install –save-dev react-addons-test-utils

CSS:

npm install –save classnames

npm install –save-dev css-loader style-loader autoprefixer-loader

Testing:

npm install –save-dev mocha chai

npm install –save-dev jsdom

npm install –save immutable

npm install –save-dev chai-immutable

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s