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

https://github.com/spearwolf/react-skeleton-app

react skeleton app
https://github.com/spearwolf/react-skeleton-app

Last synced: over 1 year ago
JSON representation

react skeleton app

Awesome Lists containing this project

README

          

## react-skeleton-app
#### minimal version

Includes **gulp**, **babel** (_es2015_, _stage-1_, _runtime_, _react_), **browserify** (_commonjs_-style require), **react**, **postcss** and **css-modules** (_precss_, _autoprefixer_) .. and more!

All build artifacts goes into `./build/` directory.

Inside your javascripts the global var `DEBUG=(true||false)` is defined.

Babel config is inside `package.json`

### I. install

`npm install`

### II. usage

predefined `gulp` tasks are ..

- `gulp build` → build `index.html`, one big javascript bundle `app.js` and copy favicon from `src/`to `build/`
- `gulp release` → same as *build* but with `DEBUG=false`
- `gulp` → *build* and *watch* (watches only for `src/**/*.js` changes but ignores `src/index.html` or `src/favicon.ico`)
- `gulp serve` → to run a http server and serve the app at localhost

other sub tasks are ..

- `gulp html`
- `gulp favicon`
- `gulp bundle`
- `gulp bundle:watch`
- `gulp clean`

### III. create

.. and have fun :smiley: