Skip to content

Instantly share code, notes, and snippets.

View j4jinx's full-sized avatar

Amol Meshram j4jinx

View GitHub Profile
@j4jinx
j4jinx / GruntFile2
Last active August 29, 2015 14:17
Making your AngularJS application grunt
(1) File:
/*jslint node: true */
"use strict";
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
@j4jinx
j4jinx / GruntFile1
Created March 22, 2015 23:03
Concat bower components with grunt
(1) Install usemin, copy, concat and uglify:
npm install --save-dev grunt-usemin
npm install --save-dev grunt-contrib-copy
npm install --save-dev grunt-contrib-concat
npm install --save-dev grunt-contrib-uglify
(2) Set up a build block in your HTML file:
<!DOCTYPE html>