Skip to content

spearwolf/react-skeleton-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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
  • gulpbuild 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 😃

About

react skeleton app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published