babel-react-rollup-starter v7.0.0
babel-react-rollup-starter

A simple boilerplate for web apps with React, Babel, and Rollup.
Installation
Via npm into a fresh project:
npm i babel-react-rollup-starterOr using Git:
git clone https://github.com/yamafaktory/babel-react-rollup-starter.git
cd babel-react-rollup-starter
npm iFor 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 startTo generate a development bundle:
npm run build:devProduction
First run the following command:
npm run buildOpen
html/index.htmlin 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.
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago