Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A grunt-init template for grunt-nautilus projects.
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
root
templates
.gitignore
LICENSE-MIT
README.md
package.json
template.js

README.md

grunt-init-gruntnautilus

Creates a grunt-nautilus Gruntfile with grunt-init.

Installation

If you haven't already done so, install grunt-init.

Once grunt-init is installed, clone the grunt-init-gruntnautilus template into your ~/.grunt-init/ directory:

git clone https://github.com/kitajchuk/grunt-init-gruntnautilus.git ~/.grunt-init/gruntnautilus

If you already have grunt-init-gruntnautilus installed and need to update it, you can do the following:

cd ~/.grunt-init/gruntnautilus

git pull origin master

Usage

This init template is installing with the latest release of grunt-nautilus. Run the following command from your project's root, replacing "Firefly" with your project name:

grunt-init gruntnautilus --project "Firefly"

You can optionally use a default template and skip the prompts. The following pre-baked templates exist for these frameworks:

An example of using the squarespace template:

grunt-init gruntnautilus:squarespace --project "Firefly"

If you are not using a default template, you will answer a series of prompts so grunt-nautilus can make magic happen:

  • What is the path to your public directory?
  • What is the path to your js directory?
  • What is the path to your css directory?
  • What is the path to your sass directory?
  • What is the path to your images directory?
  • What is the path to your fonts directory?

This creates the following files in the current working directory:

  • Gruntfile.js
  • package.json

Now you can install the necessary packages:

# Node modules
npm install

This will install grunt, grunt-nautilus and its peer packages as well as jquery and hammerjs.

Grunt Nautilus Plugin

Checkout the grunt-nautilus plugin to continue.

Something went wrong with that request. Please try again.