Jean-Yves Didier

deactivated any minification through obfuscation

......@@ -59,13 +59,13 @@ module.exports = function (grunt) {
}
}
},
//uglify: {
// build: {
// options: {
// banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
// },
// files: {
/* 'build/arcs.min.js': [
obfuscator: {
build: {
options: {
banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
},
files: {
'build/arcs.min.js': [
'build/arcs.js'
],
'build/arcs_browser.js': [
......@@ -76,7 +76,7 @@ module.exports = function (grunt) {
]
}
}
},*/
},
bower: {
options : {
verbose: true,
......@@ -128,7 +128,7 @@ module.exports = function (grunt) {
});
// Load the plugin that provides the "uglify" task.
//grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-obfuscator');
grunt.loadNpmTasks('grunt-file-minify');
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-jsdoc');
......@@ -137,7 +137,7 @@ module.exports = function (grunt) {
// Default task(s).
grunt.registerTask('default', ['concat','file_minify'/*'uglify'*/]);
grunt.registerTask('default', ['concat',/*'file_minify','obfuscator'*/]);
grunt.registerTask('lint', ['jslint']);
grunt.registerTask('doc', ['jsdoc']);
};
......
This diff is collapsed. Click to expand it.
......@@ -16,7 +16,7 @@
"bower": ">=1.3.9",
"grunt": ">=0.4.5",
"grunt-jslint": ">=1.1.12",
"grunt-contrib-uglify": ">=0.5.1",
"grunt-contrib-obfuscator": "*",
"grunt-file-minify": ">=1.0.0",
"grunt-jsdoc": ">=0.5.6",
"grunt-bower-task": ">=0.4.0",
......