An open API service indexing awesome lists of open source software.

https://github.com/felipethome/react-seed-es6

Seed project to develop React projects with ES2015
https://github.com/felipethome/react-seed-es6

babel browserify es6-seed eslint jsx react

Last synced: 3 months ago
JSON representation

Seed project to develop React projects with ES2015

Awesome Lists containing this project

README

          

# React Seed with ES6

**No longer maintained.** A long time has passed and now there are tons of options to create React applications. You are probably better going with [createReactApp](https://github.com/facebookincubator/create-react-app). If you still want your own configuration it is better if you use Webpack because it has better support for hot reloading.

Seed project for React. I based my work on this [repository](https://github.com/christianalfoni/react-app-boilerplate). Type one command and you will spawn a server with live-reload (any change made in one of your *jsx* or *css* files will automatically reload the page where the components/css are loaded). Type another command and you will be able to build a production version with all your *jsx* and *css* files concatenated and minified.

## React + Browserify + Babel + ESLint
This seed uses Browserify to support modules, Babel to transform your *jsx* files written with ES6 features in pure JavaScript (ES5), and ESLint to help you keep your code free of bugs. It also has babel-stage-2 that includes features of the next version of ECMAScript that are in initial draft.

## Build

Clone this repository:

git clone https://github.com/felipethome/react-seed-es6

Install dependencies:

npm install

Run:

npm run dev

Check http://localhost:8889

## Production version

Run:

npm run deploy