It includes the build setup (Webpack and Cocos configurations, NPM scripts) along with an example project structure, showing you how to preload assets and create nodes (e.g scenes, layers, sprites).
This repository provides a foundation for building HTML games with JavaScript that are bundled with Webpack, compiled with Babel, and built on top of the Cocos2d-html framework.
Note that as of 2019, both Cocos2d-html and Cocos2d-js are expected to be deprecated in favor or Cocos Creator.
This boilerplate, in combination with coconut, will hopefully provide teams with a way to continue developing on top of Cocos2d-html in a efficient way.
For the most up-to-date documentation, refer to the docs in the original cocos2d-html5-boilerplate repository (documentation will not be updated across cloned repositories).