Skip to content

davidsonfellipe/grunt-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-workflow

This is a DEMO for you start your project using Grunt, and currently watching and compiling Sass/LESS to CSS, watching/linting JS code and some other amazing things.

##Configure grunt

make setup

##package.json

if you're working in a mature project, can be not safe define version equal to 'latest', in this case, define one specific version to avoid breaking changes.

{
  "private": true,
  "author": "Your Name <you.name@example.org>",
  "devDependencies": {
    "grunt": "latest",
    "load-grunt-config": "latest",
    "grunt-contrib-uglify": "latest",
    "grunt-contrib-concat": "latest",
    "grunt-contrib-watch": "latest"
  }
}

Structure:

.
|── build/
|── src/
|   └── img/ (all imgs files)
|   └── js/ (all js files)
|   └── scss/ (all scss files)
|   └── less/ (all less files)
└── .csslintrc
└── .editorconfig
└── .gitignore
└── .jshintrc
└── Gruntfile.js
└── package.json
└── README.md