Git Product home page Git Product logo

babel-react-rollup-starter's Introduction

babel-react-rollup-starter Build Status npm version Standard - JavaScript Style Guide

A simple boilerplate for web apps with React, Babel, and Rollup.

Installation

Via npm into a fresh project:

npm i babel-react-rollup-starter

Or using Git:

git clone https://github.com/yamafaktory/babel-react-rollup-starter.git
cd babel-react-rollup-starter
npm i

For a faster installation, use yarn instead of npm.

Usage

Development

Running the following command will open your default browser to html/index-dev.html. Thanks to Browsersync, any modifications inside src trigger a browser refresh:

npm start

To generate a development bundle:

npm run build:dev

Production

  1. First run the following command:
npm run build
  1. Open html/index.html in your browser.

The Rollup production configuration file changes NODE_ENV to production and minifies the code with UglifyJS.

Linting

The code quality is checked by the JavaScript Standard Style.

License

Released under the MIT license by Davy Duperron.

babel-react-rollup-starter's People

Contributors

callahanchris avatar dawsbot avatar exarus avatar greenkeeper[bot] avatar mwozniczak avatar yamafaktory 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.