Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when make build with gulp bower files not working #70

Open
riturajratan opened this issue Apr 25, 2015 · 0 comments
Open

when make build with gulp bower files not working #70

riturajratan opened this issue Apr 25, 2015 · 0 comments

Comments

@riturajratan
Copy link

Hi

First of all Nice work.

plugin works well.

Now my Problem is when i merge all bower files then except address-picker all files merge successfully but not address-picker help me that
it is the issue of "addresspicker": "*" or it is the issue of something else ?

This is my gulp file

Gulpfile.js


'use strict';

/**
 * ======================START===========================
 */


/**
 * [gulp initilize all modules which we will use in our project]
 * @type {[nothing]}
 */
var gulp = require('gulp'),
    sass = require('gulp-ruby-sass'),
    autoprefixer = require('gulp-autoprefixer'),
    minifycss = require('gulp-minify-css'),
    jshint = require('gulp-jshint'),
    nodemon = require('gulp-nodemon'),
    uglify = require('gulp-uglify'),
    imagemin = require('gulp-imagemin'),
    rename = require('gulp-rename'),
    concat = require('gulp-concat'),
    notify = require('gulp-notify'),
    cache = require('gulp-cache'),
    plugins = require("gulp-load-plugins")({
              pattern: ['gulp-*', 'gulp.*', 'main-bower-files'],
              replaceString: /\bgulp[\-.]/
            }),
    //livereload = require('gulp-livereload'),
    del = require('del');


/**
 * [in this section we do all JS related task means 
 *  here we are doing JS TO .MIN JS and multiple js combined in single js]
 * @param  {[js]}
 * @return {[.min js]}
 */

gulp.task('bowerscripts', function() {
  // var jsFiles = ['app/scripts/**/*.js'];
  return gulp.src(plugins.mainBowerFiles())
    // .pipe(jshint('.jshintrc'))
    // .pipe(jshint.reporter('default'))
    .pipe(plugins.filter('*.js'))
    .pipe(plugins.concat('vendor.js'))
    .pipe(gulp.dest('dist/assets/js'))
    .pipe(plugins.rename({suffix: '.min'}))
    .pipe(plugins.uglify())
    .pipe(gulp.dest('dist/assets/js'))
    .pipe(notify({ message: 'Scripts  Bower task complete' }));
});

and this is my bower file


{
  "name": "pin",
  "version": "0.0.0",
  "dependencies": {
    "angular": "1.2.11",
    "jquery": "2.1.3",
    "json3": "~3.2.6",
    "es5-shim": "~2.1.0",
    "angular-resource": "1.2.11",
    "angular-cookies": "1.2.11",
    "angular-sanitize": "1.2.11",
    "angular-route": "1.2.11",
    "angular-bootstrap": "~0.10.0",
    "angular-socket-io": "0.7.0",
    "socket.io-client": "~0.9.16",
    "socket.io": "~0.9.15",
    "bootstrap": "3.0.3",
    "bootstrap-sass-official": "~3.1.1",
    "fabric": "1.4.4",
    "angular-loading-bar": "~0.3.0",
    "ng-tags-input": "2.0.1",
    "fontawesome": "~4.1.0",
    "angular-social": "https://github.com/siddhant3s/angular-social.git#master",
    "angulartics": "~0.15.20",
    "angular-scroll": "0.6.1",
    "ng-file-upload": "~1.6.12",
    "textAngular": "1.3.11",
    "videogular": "1.1.0",
    "videogular-buffering": "1.1.0",
    "videogular-controls": "1.1.0",
    "videogular-ima-ads": "1.1.0",
    "videogular-poster": "1.1.0",
    "videogular-themes-default": "1.1.0",
    "videogular-overlay-play": "1.1.0",
    "ng-grid": "2.0.14",
    "isotope": "2.1.1",
    "xtform": "1.0.1",
    "angular-smart-table": "~2.0.2",
    "addresspicker": "*",
    "jquery-ui": "~1.11.4"
  },
  "devDependencies": {
    "angular-mocks": "1.2.11",
    "angular-scenario": "1.2.11"
  },
  "testPath": "test/client/spec"
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant