Skip to content

vsvipul/node-express-grunt-starter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-express-grunt-starter

Build Status

This repository is a starting point for any node/express project. Grunt.js is also included with a set of common grunt tasks.

Requirements

  • npm
  • node
  • express
  • jade
  • grunt

Getting Started

Clone the repository and npm install

$ git clone https://github.com/marcusmolchany/node-express-grunt-starter
$ cd node-express-grunt-starter
$ npm install

Run the Server

$ npm start

Development with Grunt

To run the default grunt tasks type

$ grunt

This will run everything in the default task array in Gruntfile.js, and then stop

  grunt.registerTask('default', [
    'jshint',
    'csslint',
    'concat',
    'uglify',
    'cssmin'
  ]);

If you want to have these tasks execute everytime you save a change run the watch task in a separate terminal window

$ grunt watchTask

This task will hang until you ctrl-c. It will run the same list of tasks in the default array.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.1%
  • Pug 8.3%
  • CSS 4.6%