No code in vendor and script files when i use grunt build

I have an issue when i use grunt build before upload my files. The scripts.js file is empty and only a few functions are in the vendor.js file. The build:dist doesn't work and i don't know why. Thanks for the futur help !

/app_name/gruntfile.js

'use strict';
module.exports = function (grunt) {

  require('load-grunt-tasks')(grunt);

  require('time-grunt')(grunt);

  var appConfig = {
    app: require('./bower.json').appPath || 'app',
    dist: 'dist'
  };

  grunt.initConfig({

    yeoman: appConfig,

    watch: {
      bower: {
        files: ['bower.json'],
        tasks: ['wiredep']
      },
      js: {
        files: ['<%= yeoman.app %>/scripts/{,*/}*.js'],
        tasks: ['newer:jshint:all'],
        options: {
          livereload: '<%= connect.options.livereload %>'
        }
      },
      jsTest: {
        files: ['test/spec/{,*/}*.js'],
        tasks: ['newer:jshint:test', 'karma']
      },
      compass: {
        files: ['<%= yeoman.app %>/styles/{,*/}*.{scss,sass}'],
        tasks: ['compass:server', 'autoprefixer']
      },
      gruntfile: {
        files: ['Gruntfile.js']
      },
      livereload: {
        options: {
          livereload: '<%= connect.options.livereload %>'
        },
        files: [
          '<%= yeoman.app %>/{,*/}*.html',
          '.tmp/styles/{,*/}*.css',
          '<%= yeoman.app %>/images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}'
        ]
      }
    },

    // The actual grunt server settings
    connect: {
      options: {
        port: 9000,
        // Change this to '0.0.0.0' to access the server from outside.
        hostname: 'localhost',
        livereload: 35729
      },
      livereload: {
        options: {
          open: true,
          middleware: function (connect) {
            return [
              connect.static('.tmp'),
              connect().use(
                '/bower_components',
                connect.static('./bower_components')
              ),
              connect.static(appConfig.app)
            ];
          }
        }
      },
      test: {
        options: {
          port: 9001,
          middleware: function (connect) {
            return [
              connect.static('.tmp'),
              connect.static('test'),
              connect().use(
                '/bower_components',
                connect.static('./bower_components')
              ),
              connect.static(appConfig.app)
            ];
          }
        }
      },
      dist: {
        options: {
          open: true,
          base: '<%= yeoman.dist %>'
        }
      }
    },

    // Make sure code styles are up to par and there are no obvious mistakes
    jshint: {
      options: {
        jshintrc: '.jshintrc',
        reporter: require('jshint-stylish')
      },
      all: {
        src: [
          'Gruntfile.js',
          '<%= yeoman.app %>/scripts/{,*/}*.js'
        ]
      },
      test: {
        options: {
          jshintrc: 'test/.jshintrc'
        },
        src: ['test/spec/{,*/}*.js']
      }
    },

    // Empties folders to start fresh
    clean: {
      dist: {
        files: [{
          dot: true,
          src: [
            '.tmp',
            '<%= yeoman.dist %>/{,*/}*',
            '!<%= yeoman.dist %>/.git*'
          ]
        }]
      },
      server: '.tmp'
    },

    // Add vendor prefixed styles
    autoprefixer: {
      options: {
        browsers: ['last 1 version']
      },
      dist: {
        files: [{
          expand: true,
          cwd: '.tmp/styles/',
          src: '{,*/}*.css',
          dest: '.tmp/styles/'
        }]
      }
    },

    // Automatically inject Bower components into the app
    wiredep: {
      app: {
        src: ['<%= yeoman.app %>/index.html', '<%= yeoman.app %>/spymaster/spymaster.html'],
        ignorePath: new RegExp('^<%= yeoman.app %>/|../'),
        exclude:['bower_components/angular-ui-date/ui-date.js']
      },
      sass: {
      src: ['<%= yeoman.app %>/styles/{,*/}*.{scss,sass}'],
      ignorePath: /(\.\.\/){1,2}bower_components\//
      }
    },

    // Compiles Sass to CSS and generates necessary files if requested
    compass: {
      options: {
        sassDir: '<%= yeoman.app %>/styles',
        cssDir: '.tmp/styles',
        generatedImagesDir: '.tmp/images/generated',
        imagesDir: '<%= yeoman.app %>/images',
        javascriptsDir: '<%= yeoman.app %>/scripts',
        fontsDir: '<%= yeoman.app %>/styles/fonts',
        importPath: './bower_components',
        httpImagesPath: '/images',
        httpGeneratedImagesPath: '/images/generated',
        httpFontsPath: '/styles/fonts',
        relativeAssets: false,
        assetCacheBuster: false,
        raw: 'Sass::Script::Number.precision = 10\n'
      },
      dist: {
        options: {
          generatedImagesDir: '<%= yeoman.dist %>/images/generated'
        }
      },
      server: {
        options: {
          debugInfo: true
        }
      }
    },

    // Renames files for browser caching purposes
    filerev: {
      dist: {
        src: [
          '<%= yeoman.dist %>/scripts/{,*/}*.js',
          '<%= yeoman.dist %>/styles/{,*/}*.css',
          '<%= yeoman.dist %>/images/{,*/}*.{png,jpg,jpeg,gif,webp,svg}',
          '<%= yeoman.dist %>/styles/fonts/*'
        ]
      }
    },

    // Reads HTML for usemin blocks to enable smart builds that automatically
    // concat, minify and revision files. Creates configurations in memory so
    // additional tasks can operate on them
    useminPrepare: {
      html: ['<%= yeoman.app %>/index.html','<%= yeoman.app %>/spymaster/spymaster.html'],
      options: {
        dest: '<%= yeoman.dist %>',
        flow: {
          html: {
            steps: {
              js: ['concat', 'uglifyjs'],
              css: ['cssmin']
            },
            post: {}
          }
        }
      }
    },

    // Performs rewrites based on filerev and the useminPrepare configuration
    usemin: {
    html: ['<%= yeoman.dist %>/{,*/}*.html'],
      css: ['<%= yeoman.dist %>/styles/{,*/}*.css'],
      options: {
        assetsDirs: ['<%= yeoman.dist %>','<%= yeoman.dist %>/images']
      }
    },

    // The following *-min tasks will produce minified files in the dist folder
    // By default, your `index.html`'s <!-- Usemin block --> will take care of
    // minification. These next options are pre-configured if you do not wish
    // to use the Usemin blocks.
    // cssmin: {
    //   dist: {
    //     files: {
    //       '<%= yeoman.dist %>/styles/main.css': [
    //         '.tmp/styles/{,*/}*.css'
    //       ]
    //     }
    //   }
    // },
    uglify: {
      options: {
        mangle: false,
        beautify: true,
        compress: false
      }
      //dist: {
        //files: {
          //'<%= yeoman.dist %>/scripts/scripts.js': [
          //'<%= yeoman.dist %>/scripts/scripts.js'
          //]
        //}
      //}
     },

    // concat: {
    //   dist: {}
    // },

    imagemin: {
      dist: {
        files: [{
          expand: true,
          cwd: '<%= yeoman.app %>/images',
          src: '{,*/}*.{png,jpg,jpeg,gif}',
          dest: '<%= yeoman.dist %>/images'
        }]
      }
    },

    svgmin: {
      dist: {
        files: [{
          expand: true,
          cwd: '<%= yeoman.app %>/images',
          src: '{,*/}*.svg',
          dest: '<%= yeoman.dist %>/images'
        }]
      }
    },

    htmlmin: {
      dist: {
        options: {
          collapseWhitespace: true,
          conservativeCollapse: true,
          collapseBooleanAttributes: true,
          removeCommentsFromCDATA: true,
          removeOptionalTags: true
        },
        files: [{
          expand: true,
          cwd: '<%= yeoman.dist %>',
          src: ['*.html', 'views/{,*/}*.html'],
          dest: '<%= yeoman.dist %>'
        }]
      }
    },

    // ngmin tries to make the code safe for minification automatically by
    // using the Angular long form for dependency injection. It doesn't work on
    // things like resolve or inject so those have to be done manually.
    ngmin: {
      dist: {
        files: [{
          expand: true,
          cwd: '.tmp/concat/scripts',
          src: '*.js',
          dest: '.tmp/concat/scripts'
        }]
      }
    },

    // Replace Google CDN references
    cdnify: {
      dist: {
        html: ['<%= yeoman.dist %>/*.html']
      }
    },

    protractor: {
      options: {
        configFile: 'protractor.conf.js',
        keepAlive: false,
        noColor: false,
        debug: false
      },
      run: {}
    },

    // Copies remaining files to places other tasks can use
    copy: {
      dist: {
        files: [{
          expand: true,
          dot: true,
          cwd: '<%= yeoman.app %>',
          dest: '<%= yeoman.dist %>',
          src: [
            '*.{ico,png,txt}',
            '.htaccess',
            '**/*.html',
            'views/{,*/}*.html',
            'images/{,*/}*.{webp}',
            'fonts/*'
          ]
        }, {
          expand: true,
          cwd: '.tmp/images',
          dest: '<%= yeoman.dist %>/images',
          src: ['generated/*']
        }]
      },
      styles: {
        expand: true,
        cwd: '<%= yeoman.app %>/styles',
        dest: '.tmp/styles/',
        src: '{,*/}*.css'
      }
    },

    // Run some tasks in parallel to speed up the build process
    concurrent: {
      server: [
        'compass:server'
      ],
      test: [
        'compass'
      ],
      dist: [
        'compass:dist',
        'imagemin',
        'svgmin'
      ]
    },

    // Test settings
    karma: {
      unit: {
        configFile: 'test/karma.conf.js',
        singleRun: true
      }
    }
  });

  grunt.registerTask('serve', 'Compile then start a connect web server', function (target) {
    if (target === 'dist') {
      return grunt.task.run(['build', 'connect:dist:keepalive']);
    }

    grunt.task.run([
      'clean:server',
      'wiredep',
      'concurrent:server',
      'autoprefixer',
      'connect:livereload',
      'watch'
    ]);
  });

  grunt.registerTask('e2e', [
    'clean:server',
    'concurrent:test',
    'autoprefixer',
    'connect:test',
    'protractor'
  ]);

  grunt.registerTask('server', 'DEPRECATED TASK. Use the "serve" task instead', function (target) {
    grunt.log.warn('The `server` task has been deprecated. Use `grunt serve` to start a server.');
    grunt.task.run(['serve:' + target]);
  });

  grunt.registerTask('test', [
    'clean:server',
    'concurrent:test',
    'autoprefixer',
    'connect:test',
    'karma'
  ]);

  grunt.registerTask('build', [
    'clean:dist',
    'wiredep',
    'useminPrepare',
    'concurrent:dist',
    'autoprefixer',
    'concat',//ToCheck
    'ngmin',//ToCheck
    'copy:dist',
    'cdnify',
    'cssmin',
    'uglify',//ToCheck
    'filerev',//ToCheck
    'usemin',//ToCheck
    'htmlmin'
  ]);

  grunt.registerTask('default', [
    'newer:jshint',
    'test',
    'build'
  ]);
};

/app_name/app/index.html (build:js section)

<!--[if lt IE 9]>
<script src="bower_components/es5-shim/es5-shim.js"></script>
<script src="bower_components/json3/lib/json3.min.js"></script>
<![endif]-->

<!-- build:js(.) scripts/vendor.js -->
<!-- bower:js -->
<script src="bower_components/modernizr/modernizr.js"></script>
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="bower_components/angular/angular.js"></script>
<script src="bower_components/json3/lib/json3.js"></script>
<script src="bower_components/angular-resource/angular-resource.js"></script>
<script src="bower_components/angular-cookies/angular-cookies.js"></script>
<script src="bower_components/angular-sanitize/angular-sanitize.js"></script>
<script src="bower_components/angular-animate/angular-animate.js"></script>
<script src="bower_components/angular-touch/angular-touch.js"></script>
<script src="bower_components/angular-route/angular-route.js"></script>
<script src="bower_components/jQuery.mmenu/src/js/jquery.mmenu.min.js"></script>
<script src="bower_components/moment/moment.js"></script>
<script src="bower_components/ckeditor/ckeditor.js"></script>
<script src="bower_components/fastclick/lib/fastclick.js"></script>
<script src="bower_components/jquery.cookie/jquery.cookie.js"></script>
<script src="bower_components/jquery-placeholder/jquery.placeholder.js"></script>
<script src="bower_components/foundation/js/foundation.js"></script>
<script src="bower_components/underscore/underscore.js"></script>
<script src="bower_components/highcharts/highcharts.js"></script>
<script src="bower_components/highcharts/highcharts-more.js"></script>
<script src="bower_components/highcharts/modules/exporting.js"></script>
<script src="bower_components/notifyjs/dist/notify.js"></script>
<!-- endbower -->
<script src="scripts/vendor/style.notify.js"></script>
<script src="scripts/vendor/moment.fr.js"></script>
<!-- endbuild -->

    <!-- build:js({.tmp,app}) scripts/scripts.js -->
    <script src="scripts/app.js"></script>
    <script src="scripts/controllers/home.js"></script>
    <script src="scripts/controllers/main.js"></script>
    <script src="scripts/controllers/address.js"></script>
    <script src="scripts/controllers/addresses.js"></script>
    <script src="scripts/controllers/counters.js"></script>
    <script src="scripts/controllers/export.js"></script>
    <script src="scripts/controllers/exportmanager.js"></script>
    <script src="scripts/controllers/imports.js"></script>
    <script src="scripts/controllers/periodmanager.js"></script>
    <script src="scripts/controllers/agendas/agenda.js"></script>
    <script src="scripts/controllers/drivers/driver.js"></script>
    <script src="scripts/controllers/drivers/drivers.js"></script>
    <script src="scripts/controllers/drivers/activedrivers.js"></script>
    <script src="scripts/controllers/drivers/driveraccount.js"></script>
    <script src="scripts/controllers/drivers/driveraccounts.js"></script>
    <script src="scripts/controllers/drivers/geoloc.js"></script>
    <script src="scripts/controllers/fares/fare.js"></script>
    <script src="scripts/controllers/fares/farelist.js"></script>
    <script src="scripts/controllers/fares/fares.js"></script>
    <script src="scripts/controllers/fares/monitor.js"></script>
    <script src="scripts/controllers/invoiceresumes/invoiceresume.js"></script>
    <script src="scripts/controllers/invoiceresumes/invoiceresumes.js"></script>
    <script src="scripts/controllers/invoices/invoiceentry.js"></script>
    <script src="scripts/controllers/invoices/invoices.js"></script>
    <script src="scripts/controllers/pages/host.js"></script>
    <script src="scripts/controllers/pages/page.js"></script>
    <script src="scripts/controllers/pages/pages.js"></script>
    <script src="scripts/controllers/panels/panelname.js"></script>
    <script src="scripts/controllers/panels/panelnames.js"></script>
    <script src="scripts/controllers/panels/vehiclelicense.js"></script>
    <script src="scripts/controllers/panels/vehiclelicenses.js"></script>
    <script src="scripts/controllers/panels/vehiclepanel.js"></script>
    <script src="scripts/controllers/panels/vehiclepanels.js"></script>
    <script src="scripts/controllers/panels/vehiclepanelcreate.js"></script>
    <script src="scripts/controllers/passengers/passenger.js"></script>
    <script src="scripts/controllers/passengers/passengers.js"></script>
    <script src="scripts/controllers/passengers/passengeraccount.js"></script>
    <script src="scripts/controllers/passengers/passengeraccounts.js"></script>
    <script src="scripts/controllers/presses/categories.js"></script>
    <script src="scripts/controllers/presses/categoriessub.js"></script>
    <script src="scripts/controllers/presses/category.js"></script>
    <script src="scripts/controllers/presses/categoryadd.js"></script>
    <script src="scripts/controllers/presses/categoryaddsub.js"></script>
    <script src="scripts/controllers/presses/categorysub.js"></script>
    <script src="scripts/controllers/presses/element.js"></script>
    <script src="scripts/controllers/presses/elements.js"></script>
    <script src="scripts/controllers/presses/elementadd.js"></script>
    <script src="scripts/controllers/question/question.js"></script>
    <script src="scripts/controllers/question/questions.js"></script>
    <script src="scripts/controllers/search/search.js"></script>
    <script src="scripts/controllers/services/service.js"></script>
    <script src="scripts/controllers/services/services.js"></script>
    <script src="scripts/controllers/tasks/tasks.js"></script>
    <script src="scripts/controllers/third-part-accounts/thirdpartaccount.js"></script>
    <script src="scripts/controllers/third-part-accounts/thirdpartaccounts.js"></script>
    <script src="scripts/controllers/third-part-accounts/thirdpartorder.js"></script>
    <script src="scripts/controllers/tweaks/algo.js"></script>
    <script src="scripts/controllers/users/user.js"></script>
    <script src="scripts/controllers/invoices/invoices-check.js"></script>
    <script src="scripts/controllers/counters/drivercallercounters.js"></script>
    <script src="scripts/controllers/services/counters.js"></script>

    <!-- endbuild -->

/app_name/.tmp/concat/scripts/vendor.js

angular.module('ui.date', []).constant('uiDateConfig', {}).directive('uiDate', [
  'uiDateConfig',
  '$timeout',
  function (uiDateConfig, $timeout) {
    'use strict';
    var options;
    options = {};
    angular.extend(options, uiDateConfig);
    return {
      require: '?ngModel',
      link: function (scope, element, attrs, controller) {
        var getOptions = function () {
          return angular.extend({}, uiDateConfig, scope.$eval(attrs.uiDate));
        };
        var initDateWidget = function () {
          var opts = getOptions();
          // If we have a controller (i.e. ngModelController) then wire it up
          if (controller) {
            // Override ngModelController's $setViewValue
            // so that we can ensure that a Date object is being pass down the $parsers
            // This is to handle the case where the user types directly into the input box
            var _$setViewValue = controller.$setViewValue;
            var settingValue = false;
            controller.$setViewValue = function () {
              if (!settingValue) {
                settingValue = true;
                element.datepicker('setDate', element.datepicker('getDate'));
                _$setViewValue.call(controller, element.datepicker('getDate'));
                $timeout(function () {
                  settingValue = false;
                });
              }
            };
            // Set the view value in a $apply block when users selects
            // (calling directive user's function too if provided)
            var _onSelect = opts.onSelect || angular.noop;
            opts.onSelect = function (value, picker) {
              scope.$apply(function () {
                controller.$setViewValue(value);
                _onSelect(value, picker);
                element.blur();
              });
            };
            // Don't show if we are already setting the value in $setViewValue()
            // (calling directive user's function too if provided)
            var _beforeShow = opts.beforeShow || angular.noop;
            opts.beforeShow = function (input, inst) {
              return !settingValue && _beforeShow(input, inst);
            };
            // Update the date picker when the model changes
            controller.$render = function () {
              var date = controller.$viewValue;
              if (angular.isDefined(date) && date !== null && !angular.isDate(date)) {
                throw new Error('ng-Model value must be a Date object - currently it is a ' + typeof date + ' - use ui-date-format to convert it from a string');
              }
              element.datepicker('setDate', date);
            };
          }
          // If we don't destroy the old one it doesn't update properly when the config changes
          element.datepicker('destroy');
          // Create the new datepicker widget
          element.datepicker(opts);
          if (controller) {
            // Force a render to override whatever is in the input text box
            controller.$render();
          }
        };
        // Watch for changes to the directives options
        scope.$watch(getOptions, initDateWidget, true);
      }
    };
  }
]).constant('uiDateFormatConfig', '').directive('uiDateFormat', [
  'uiDateFormatConfig',
  function (uiDateFormatConfig) {
    var directive = {
        require: 'ngModel',
        link: function (scope, element, attrs, modelCtrl) {
          var dateFormat = attrs.uiDateFormat || uiDateFormatConfig;
          if (dateFormat) {
            // Use the datepicker with the attribute value as the dateFormat string to convert to and from a string
            modelCtrl.$formatters.push(function (value) {
              if (angular.isString(value)) {
                return jQuery.datepicker.parseDate(dateFormat, value);
              }
              return null;
            });
            modelCtrl.$parsers.push(function (value) {
              if (value) {
                return jQuery.datepicker.formatDate(dateFormat, value);
              }
              return null;
            });
          } else {
            // Default to ISO formatting
            modelCtrl.$formatters.push(function (value) {
              if (angular.isString(value)) {
                return new Date(value);
              }
              return null;
            });
            modelCtrl.$parsers.push(function (value) {
              if (value) {
                return value.toISOString();
              }
              return null;
            });
          }
        }
      };
    return directive;
  }
]);

/app_name/.tmp/concat/scripts/script.js (is empty)