Permalink
Browse files

added grunt removelogging

  • Loading branch information...
stefanocudini committed Aug 4, 2015
1 parent d60ba23 commit 9305d030c17a27809652f3f7911e0c3a92d27583
Showing with 12 additions and 4 deletions.
  1. +11 −4 Gruntfile.js
  2. +1 −0 package.json
View
@@ -7,6 +7,7 @@ grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks("grunt-remove-logging");
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-todos');
@@ -36,15 +37,20 @@ grunt.initConfig({
src: ['dist/*']
}
},
removelogging: {
dist: {
src: 'dist/*.js'
}
},
jshint: {
options: {
globals: {
console: true,
'no-console': true,
module: true
},
"-W099": true, //ignora tabs e space warning
"-W033": true,
"-W044": true //ignore regexp
'-W099': true, //ignora tabs e space warning
'-W033': true,
'-W044': true //ignore regexp
},
files: ['src/*.js']
},
@@ -107,6 +113,7 @@ grunt.registerTask('default', [
'clean',
'concat',
'cssmin',
'removelogging',
'jshint',
'uglify',
'todos'
View
@@ -30,6 +30,7 @@
"grunt-contrib-jshint": "^0.7.2",
"grunt-contrib-uglify": "^0.2.7",
"grunt-contrib-watch": "^0.5.3",
"grunt-remove-logging": "^0.2.0",
"grunt-todos": "^0.2.0"
}
}

0 comments on commit 9305d03

Please sign in to comment.