A simple Cocos2d-HTML5 hello-world app written in ES6 (compiled using Babel) with dependency management using Browserify.
First, download and setup cocos2d
Then clone and setup the repo:
git clone https://github.com/FullR/cocos-es6-browserify.git
npm install # installs dependencies and creates cocos project
Then start developing
gulp # Start cocos, build, watch, rebuild
Other gulp tasks:
build - Compile/copy ES6 source files, resources, and cocos configuration files into the cocos project directory
start - Start the cocos project as-is without rebuilding
resources - Copy files from your res directory into the cocos project