Git Product home page Git Product logo

the-simplest-webpack-react-starter-kit's Introduction

The simplest webpack starter kit for React

Dependency Status devDependencies Status

  • ES6, SASS
  • build with official recommendations from webpack and babel
  • no flux included - use one that you prefer
  • no build-in-js styles and other resources, separate files used

and also...

  • clear package.json - just react libs in dependencies and no unused libs in devDependencies
  • no mess with npm scripts - just npm start for development and npm run build for building production content
  • script just copy additional resources from static folder - no pain with adding fonts, images, etc.
  • default HMR in development mode for js and styles as well
  • no production node server included - use one that you prefer
  • webpack builder does not use NODE_ENV variables - do not worry about this
  • no test included - you may add them later

How to use?

> git clone https://github.com/gzoreslav/the-simplest-webpack-react-starter-kit.git
> cd the-simplest-webpack-react-starter-kit
> npm install

Run in development mode

> npm start

It compiles the code in development mode (source-map files, HMR) and opens browser tab. You do not need to re-run start script when you make a changes - code will be re-compiled automatically.

Build for production

> npm run build

It compiles the code in production mode (no source-map files, minify and uglify js files) and put all files in dist folder. Just copy the folder content to the server.

License

This software is distributed under an MIT licence.

Copyright 2017 © Zoreslav Goral

the-simplest-webpack-react-starter-kit's People

Contributors

gzoreslav avatar

Stargazers

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