README
generator-urban-webclient
Yeoman generator for a babel and react web client
npm run build
npm run watch
npm run serve
npm test
Tooling
babel
andbrowserify
- turn modern JS into stuff browsers lovereact
- the JS build handles jsx just fine, but it’s optionalho
andless
- by default CSS get compiled with less, autoprefixer and cleancsshtml
andmustache
- simple mustache transform to create a minimalhtml
filepolyfill
- uses the defaultbabel
polyfill (based oncorejs
) and adds afetch
polyfilllinting
- contains minimal defaults foreslint
, mainly to make it play nicely withbabel
-style code andreact
although there are some codestyle rules in there you’ll want to play with based on your own project stylelivereload
-serveur
contains a livereload implementation, but it seems a little temperamental at the moment, you’ll need the chrome plugin to get it to do what it should