Commit b1363ee2 by sanjay-patel-1991 Committed by Vishal Kadam

Added bower components files in dist

parent 16b81ab7
{ {
"directory": "public/lib", "directory": "dist/lib",
"storage": { "storage": {
"packages": ".bower-cache", "packages": ".bower-cache",
"registry": ".bower-registry" "registry": ".bower-registry"
......
...@@ -79,8 +79,8 @@ module.exports = function(grunt) { ...@@ -79,8 +79,8 @@ module.exports = function(grunt) {
shell: { shell: {
min: { min: {
command: 'java ' + command: 'java ' +
'-cp public/lib/closure-compiler/compiler.jar' + classPathSep + '-cp dist/lib/closure-compiler/compiler.jar' + classPathSep +
'public/lib/ng-closure-runner/ngcompiler.jar ' + 'dist/lib/ng-closure-runner/ngcompiler.jar ' +
'org.angularjs.closurerunner.NgClosureRunner ' + 'org.angularjs.closurerunner.NgClosureRunner ' +
'--compilation_level SIMPLE_OPTIMIZATIONS ' + '--compilation_level SIMPLE_OPTIMIZATIONS ' +
//'--formatting PRETTY_PRINT ' + //'--formatting PRETTY_PRINT ' +
...@@ -113,7 +113,7 @@ module.exports = function(grunt) { ...@@ -113,7 +113,7 @@ module.exports = function(grunt) {
expand: true, expand: true,
cwd: 'public/', cwd: 'public/',
src: '**', src: '**',
dest: 'dist' dest: 'dist',
}, },
mainjs:{ mainjs:{
expand: true, expand: true,
...@@ -146,7 +146,7 @@ module.exports = function(grunt) { ...@@ -146,7 +146,7 @@ module.exports = function(grunt) {
require('load-grunt-tasks')(grunt); require('load-grunt-tasks')(grunt);
grunt.registerTask('default', ['devUpdate', 'bower', 'jshint', 'jsbeautifier:default']); grunt.registerTask('default', ['devUpdate', 'bower', 'jshint', 'jsbeautifier:default']);
grunt.registerTask('server', ['bower','jshint', 'minify','build','concurrent']); grunt.registerTask('server', ['jshint','build','bower','minify','concurrent']);
grunt.registerTask('minify', 'Minify the all js', function() { grunt.registerTask('minify', 'Minify the all js', function() {
var done = this.async(); var done = this.async();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment