A grunt-init template for grunt-nautilus projects.
npm install grunt-init-gruntnautilus
|17||downloads in the last week|
|17||downloads in the last month|
|Version||0.3.6 last updated 2 months ago|
If you haven't already done so, install grunt-init.
Once grunt-init is installed, clone the grunt-init-gruntnautilus template into your
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
Run the following command from your project's root:
grunt-init gruntnautilus --project "Your Project Name"
You can optionally use a default template and skip the prompts. The following default templates are supported as of this version:
An example of using the caribou template:
grunt-init gruntnautilus:caribou --project "My Caribou Project"
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 cwd:
Now you can install the necessary packages:
# Node modules npm install # Bower components bower install
This will install grunt, grunt-nautilus and its peer packages as well as the default bower components.
Grunt Nautilus Plugin
Checkout the grunt-nautilus plugin to continue.