Skip to content

Basic boilerplate for new project based on grunt, bower, html5boilerplate and others

Notifications You must be signed in to change notification settings

actum/grunt-init-basic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

grunt-init-basic

Basic boilerplate for new project based on grunt, bower, html5boilerplate and others.
Create a basic project include LESS (with Bootstrap), Browserify, React, jQuery and Assemble.

Requirements

Installation

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

Once grunt-init is installed, place this template in your ~/.grunt-init/ directory. It's recommended that you use git to clone this template into that directory, as follows:

git clone https://github.com/actum/grunt-init-basic.git ~/.grunt-init/basic

(Windows users, see the documentation for the correct destination directory path)

Usage

At the command-line, cd into an empty directory, run this command and follow the prompts.

grunt-init basic

You should now install project dependencies with:

npm instal && bower install

You should use npm instal && bower install && grunt build after each pull to refresh all dependencies and initialize app.

Before each commit run the build task to be shure the app is ok.

grunt build

You can also execute each task separately.

grunt css       // compile LESS
grunt js        // lint js files, compile js with Browserify
grunt tpl       // compile static templates with Assemble
grunt build     // build whole project
grunt           // run watch task for compile LESS, lint and compile js files

Note that this template will generate files in the current directory, so be sure to change to a new directory first if you don't want to overwrite existing files.

About

Basic boilerplate for new project based on grunt, bower, html5boilerplate and others

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages