Coder Social home page Coder Social logo

react-babel-webpack-starter-kit's Introduction

###React Babel Webpack Starter Kit

An simple react babel webpack starter kit, that allows you to set up your React environment in ES6 without any issues!

###Why build another starter kit?

I want to use and understand the package.json on my project. Other kits where so damn tough to understand on what it does! It pulls out of MBs of data for simple hellp world in react!

Look at the current project package.json:

"dependencies": {
    "react": "^15.0.2",
    "react-dom": "^15.0.2"
}

And thats it! Thats the only thing we need for React!!

###To Run

Clone the project:

git clone https://github.com/antoaravinth/react-babel-webpack-starter-kit.git

And pull out all depedencies:

npm install

once done. Run :

webpack --minimize
npm start

or

npm start dev

this will start bundle the project using webpack and starts the server at 8080. Now browse to:

http://localhost:8080/

If you want to minify the bundle then do the additional set up:

export NODE_ENV='PROD'
webpack --minimize
npm start

or

npm start prod

thats it!

react-babel-webpack-starter-kit's People

Contributors

antsmartian avatar

Watchers

 avatar  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.