generator-velocity

0.0.1 • Public • Published

Java Velocity Project generator

Yeoman generator that scaffolds out a front-end web app with Jave Velocity template.

Features

  • CSS Autoprefixing
  • Built-in preview server with LiveReload
  • Automagically compile CoffeeScript & Sass
  • Automagically lint your scripts
  • Automagically inline image to css file use base64 encode.
  • Awesome Image Optimization (via OptiPNG, pngquant, jpegtran and gifsicle)
  • Mocha Unit Testing with PhantomJS
  • Mave relative (Optional)

For more information on what generator-velocity can do for you, take a look at the Grunt tasks used in our package.json.

Getting Started

  • Install: npm install -g generator-velocity
  • Run: yo velocity
  • Run grunt for building and grunt server for preview*.

Docs

We have recipes for integrating other popular technologies like LESS.

Contribute

See the contributing docs.

Note: We are regularly asked whether we can add or take away features. If a change is good enough to have a positive impact on all users, we are happy to consider it.

If not, generator-velocity is fork-friendly and you can always maintain a custom version which you npm install && npm link to continue using via yo velocity or a name of your choosing.

License

BSD license

Package Sidebar

Install

npm i generator-velocity

Weekly Downloads

3

Version

0.0.1

License

BSD

Last publish

Collaborators

  • zhongzhi