Need help with babel-react-rollup-starter?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

yamafaktory
124 Stars 27 Forks MIT License 237 Commits 3 Opened issues

Description

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

Services available

!
?

Need anything else?

Contributors list

# 11,486
chip-8
Emacs
Angular
YAML
87 commits
# 181
nextjs
postman...
graphql...
angular...
61 commits
# 14,377
jQuery
mousewh...
oauth2
Express
3 commits
# 171,455
html5
Shell
ecmascr...
structu...
2 commits
# 14,241
crdt
GraphQL
reactjs
Babel
1 commit
# 172,631
React
CSS
HTML
Three.j...
1 commit
# 32,616
React
flux
GraphQL
reactjs
1 commit

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.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.