Skip to content

guilouro/grunt-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grunt Workflow

This is a simple grunt workflow for add on projects, inspired by Davidson Fellipe grunt workflow.

How to use

 $ git clone https://github.com/guilouro/grunt-workflow.git .
 $ npm install 

Configure to project folder in Gruntfile.js

	...
	path: {
        src: 'assets/', //your source path
        dest: 'build/' //your destiny path
    }
    ...

Project information

Set the project information in package.json

	
	...

	"name": "project-name",
	"version": "0.1.0",
	"title": "Project Title",
	"homepage": "www.project.com",
	"description": "Some description.",
	"private": true,
	"author": {
		"name": "Author name",
		"url": "http://authorsite.com.br",
		"email": "author@email.com"
	},

	...

Alias

  • grunt: running grunt watch
  • grunt s: running grunt whatc witch BrowserSync
  • grunt rs: running grunt connect and grunt watch
  • grunt b: compile sass and running uglify, csslint and jshint
  • grunt r: running grunt b and deploy files in server
  • grunt o: Optimize images with imagemin

Dependencies

  • BrowserSync: Time-saving synchronised browser testing.
  • Browserify: Browserify lets you require('modules') in the browser by bundling up all of your dependencies.
  • Concurrent: Run grunt tasks concurrently
  • Connect: Run a connect server, indefinitely.
  • Csslint: Lint CSS files
  • Imagemin: Minify images
  • Jshint: Validate files with JSHint.
  • Sass: Compile Sass to CSS
  • Uglify: Minify files with UglifyJS.
  • Watch: Run predefined tasks whenever watched file patterns are added, changed or deleted.
  • Django: Grunt tasks to run common django commands. Inspired from rockabox/grunt-django-manage

About

Grunt workflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published