Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/davidsonfellipe/grunt-workflow

:boar: My grunt workflow
https://github.com/davidsonfellipe/grunt-workflow

Last synced: 2 months ago
JSON representation

:boar: My grunt workflow

Awesome Lists containing this project

README

        

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.

```javascript
{
"private": true,
"author": "Your Name ",
"devDependencies": {
"grunt": "latest",
"load-grunt-config": "latest",
"grunt-contrib-uglify": "latest",
"grunt-contrib-concat": "latest",
"grunt-contrib-watch": "latest"
}
}
```

Structure:

```bash
.
|── 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
```