generator-xweb
v0.0.4
Published
Scaffold out a front-end rest web app, user bower and npm at same time
Downloads
5
Maintainers
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
Finally, initiate the generator:
yo xweb
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