generator-h5app
v1.1.1
Published
Scaffold out a Html5 web app
Downloads
24
Maintainers
Readme
generator-h5app
Scaffold out a HTML5 web app
Features
- enable ES2015 features using browserify & babelify
- using rem layout width amfe\lib-flexible
- CSS Autoprefixing
- preview server with BrowserSync
- Automagically compile Sass with libsass
- Automagically lint your scripts
- templates : h5web(default) & phaser (h5 game framework)
Getting Started
- make sure you have yo installed:
npm install -g yo
. - Install the generator:
npm install -g generator-h5app
. - Run
yo h5app
to scaffold your html5 web app. - run
npm install
to install dependencies. - run
npm start
orgulp serve
to preview and watch for changes. - run
gulp
to build for production. - Run
gulp serve:dist
to preview the production build