Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.
/ grunt-yui-tpl Public archive

A template/example project for using grunt.js with yui

Notifications You must be signed in to change notification settings

erikfried/grunt-yui-tpl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This project is a template for a project setup using Grunt

Prerequisites

  1. Install node.js.
  2. npm, the Node Package Manager should be installed with node. Verify that you have npm on your PATH.

Short backgrounder on npm

There are two ways of installing modules with npm: globally and locally.

  • Global install are made with the -g flag of the npm install command. This should basically only be for installing command line tools. Like the crunt-cli (se next section).

  • Local installs are what you typically want. They should typically not be checked into version control, because dependencies to modules can be defined in a package.json file. Dependencies defined in package.json will be installed (locally) automagically when you run npm install (without arguments)

Installation of Grunt itself

  • Install the command line interface of grunt: npm install -g grunt-cli

Installation of the projects dependencies

  • npm install

Linting

grunt jshint or just grunt since it is the default.

Watching

grunt watch:sources Note that it is broken on Node 0.8.14 on os x 10.8.2

About

A template/example project for using grunt.js with yui

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published