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
- Host: GitHub
- URL: https://github.com/felipethome/react-seed-es6
- Owner: felipethome
- License: bsd-2-clause
- Created: 2016-01-16T19:00:17.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-10-18T12:33:15.000Z (over 8 years ago)
- Last Synced: 2025-01-18T01:12:19.940Z (over 1 year ago)
- Topics: babel, browserify, es6-seed, eslint, jsx, react
- Language: JavaScript
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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