node package manager


North Kingdom project generator

Getting Started

First you need to install Yeoman:

$ npm install -g yo

and then install our project generator:

$ npm install -g generator-nk-project

Finally, initiate the generator:

$ mkdir new-awesome-project && cd new-awesome-project
$ yo nk-project

What's inside

The generated project contains:

Grunt tasks

  • grunt dev Compiles JavaScript and CSS to static/build and watch any changes in static/app

  • grunt dev:server Compiles, watch and start a local server.

  • grunt prod Compiles and minifies assets to static/build

  • grunt prod:modernizr Compiles, minifies and create a custom modernizr files based on features used in the project. It is important to generate it at least once.