generator-xweb-module
v0.0.2
Published
Yeoman generator
Downloads
4
Readme
generator-xweb
"学骑自行车最快的方式就是先骑上去"
This project is a yeoman generator, please read more about Yeoman generator
Features
- pure browser side project.
- restful api to connect to backend services.
- use npm as primary dependencies source.
- use bower as dependencies source.
- allow static files as dependencies.
- use browserify to unify all sources above.
- a fake server to allow work offline.
- automatically redirect http request and web socket to online server with
gulp --online
- common js; coding in human way.
- mocha test framework
- auto reload when files are changed. supported by gulp.
- open browser automatically, and sync user behavior between different devices. supported by browserSync.
Getting Started
Install yeoman, run:
npm install -g yo
To install generator-xweb from npm, run:
npm install -g generator-xweb-module
Finally, initiate the generator:
yo xweb-module
Start your project
Install gulp first, run:d
npm install -g gulp
Then start your project:
gulp
Find the readme in your project for more detail guide.
License
MIT