generator-dictyweb

0.1.0 • Public • Published

The dictyWeb generator

dictyimage

Yeoman generator that scaffolds out a front-end web app for the dictyBase. This generator is a version of the fantastic webapp generator.

Features

  • Built with Grunt
  • CSS Autoprefixing (new)
  • Built-in preview server with LiveReload
  • Automagically compile CoffeeScript & Sass
  • Automagically lint your scripts
  • Automagically wire up your Bower components with bower-install.
  • Awesome Image Optimization (via OptiPNG, pngquant, jpegtran and gifsicle)
  • Mocha Unit Testing with PhantomJS
  • Optional - Bootstrap for Sass
  • Optional - Leaner Modernizr builds (new)

For more information on what generator-dictyweb does, take a look at the Grunt tasks used in our package.json.

Getting Started

  • Install: npm install -g generator-dictyweb
    • If you don't install globally, then npm install generator-dictyweb
  • Create folder and cd in: mkdir dicty_www && cd dicty_www
  • Run: yo dictyweb
  • Run grunt for building and grunt serve for preview.

Making it available on NPM registry

(Assuming you have your own account on NPM, otherwise you need to npm adduser peterpeter)

  • Modify the file package.json updating version (or whatever information you want to include)

  • npm publish

To unpublished a previous version, then nom unpublished generator-dictyweb@#.#.#

License

BSD license

dictylogo

Package Sidebar

Install

npm i generator-dictyweb

Weekly Downloads

1

Version

0.1.0

License

BSD

Last publish

Collaborators

  • biodavidjm