• Stars
    star
    121
  • Rank 293,924 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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.

More Repositories

1

jql

A JSON Query Language CLI tool
Rust
1,471
star
2

hypergraph

Hypergraph is data structure library to create a directed hypergraph in which a hyperedge can join any number of vertices.
Rust
274
star
3

shrimpit

Shrimpit 🍤 is a small CLI analysis tool for checking unused JavaScript, JSX & Vue templates ES6 exports in your project.
JavaScript
258
star
4

craftql

A CLI tool to visualize GraphQL schemas and to output a graph data structure as a graphviz .dot format
Rust
108
star
5

rust-wasm-webpack

A simple boilerplate to get WebAssembly (WASM) code generated by Rust and bundled by Webpack!
JavaScript
88
star
6

buble-react-rollup-starter

A simple starter project to build cool React applications with Bublé and Rollup.
JavaScript
73
star
7

pattern-guard

JavaScript pattern guards 💂
JavaScript
68
star
8

picst

A cross-platform CLI tool to resize clipboard images on the fly
Rust
37
star
9

reflex-starter

A simple starter project for building Reflex applications with Stack.
Shell
36
star
10

Sigma.io

Sigma.io - Create and share data in true real-time
JavaScript
5
star
11

yume

An encrypted peer-to-peer IPv6 UDP messaging terminal client built with Rust
Rust
5
star
12

extend-package-scripts-example

An example of how to extend your package.json scripts by passing extra files or flags as arguments.
JavaScript
4
star
13

docker-flowtype

A Docker image for Flow based on ocaml/opam:debian-8_ocaml-4.03.0
4
star
14

nixos-configuration

Nix
3
star
15

react-vr-typescript

Create amazing 360 and VR content using React & TypeScript
JavaScript
3
star
16

hyperzig

HyperZig - A Hypergraph Implementation in Zig
Zig
2
star
17

git-chart-js

A simple chart rendering Angular app
JavaScript
1
star
18

polymer-game

JavaScript
1
star
19

ruster

A Docker image for Rust based on alpine:edge
1
star
20

yamafaktory

That's me!
1
star
21

.emacs.d

Emacs Lisp
1
star
22

roost

Rust
1
star
23

lumberjack.vim

Vim Script
1
star