grunt setup

grunt setup for web projects. package.json { “name”: “package”, “version”: “0.0.1”, “dependencies”: { “grunt”: “^1.0.1” }, “devDependencies”: { “grunt-autoprefixer”: “^3.0.4”, “grunt-contrib-concat”: “^1.0.1”, “grunt-contrib-sass”: “^1.0.0”, “grunt-contrib-uglify”: “^3.1.0”, “grunt-contrib-watch”: “^1.0.0” }, “license”: “ISC” } Gruntfile.js module.exports = function (grunt) { grunt.initConfig({ watch: { scss: { files: ‘assets/css/*.scss’, tasks: [‘concat’, ‘sass’, ‘autoprefixer’] } Read more…