1 module
.exports
= function (grunt
) {
4 pkg
: grunt
.file
.readJSON('package.json'),
17 src
: ['**', '!**/*/*.html', '!js/**', '!lib/**', '!**/*.example', '!**/*.css', '!**/*.js', '!**/bower_components/**', '!**/nbproject/**', '!**/font-awesome/**', '!npm-debug.log'],
22 cwd
: 'app/css/font-awesome',
28 cwd
: 'app/lib/webshim/shims',
36 src
: ['dist/js/divinelegy.min.js'],
39 from
: /value\(\"rockEndpoint\",[^\)]*\)/g,
40 to
: 'value("rockEndpoint", "http://rock.divinelegy.com/")'
52 src
: ['dist/**/*.{js,css}', '!dist/js/shims/**']
57 html
: 'app/index.html'
61 html
: ['dist/index.html']
74 src
: ['**/*.html', '!index.html'],
75 dest
: '.tmp/templates.js',
79 usemin
: 'js/divinelegy.min.js',
81 collapseBooleanAttributes
: true,
82 collapseWhitespace
: true,
83 conservativeCollapse
: true,
84 removeAttributeQuotes
: true,
85 removeComments
: true, // Only if you don't use comment directives!
86 removeEmptyAttributes
: true,
87 removeRedundantAttributes
: false, //if this is on input="text" is stripped and some selectors fail
88 removeScriptTypeAttributes
: true,
89 removeStyleLinkTypeAttributes
: true
96 grunt
.loadNpmTasks('grunt-contrib-clean');
97 grunt
.loadNpmTasks('grunt-contrib-copy');
98 grunt
.loadNpmTasks('grunt-contrib-concat');
99 grunt
.loadNpmTasks('grunt-contrib-cssmin');
100 grunt
.loadNpmTasks('grunt-contrib-uglify');
101 grunt
.loadNpmTasks('grunt-rev');
102 grunt
.loadNpmTasks('grunt-usemin');
103 grunt
.loadNpmTasks('grunt-cleanempty');
104 grunt
.loadNpmTasks('grunt-angular-templates');
105 grunt
.loadNpmTasks('grunt-text-replace');
107 // Tell Grunt what to do when we type "grunt" into the terminal
108 grunt
.registerTask('default', [