katemihalikova / ion-datetime-picker

Date and/or time picker for awesome Ionic framework
MIT License
168 stars 101 forks source link

wiredep issues #9

Closed Steffan-Ennis closed 8 years ago

Steffan-Ennis commented 8 years ago

Hey looks like the current bower.json isn't playing nice with wiredep using gulp as the task runner. I had a quick look and the main and dependencies are there so I'm not sure how to fix this one with overrides.

Could be a problem with my task here's the code anyways

gulp.task('wire-vendor', function() { gulp.src('./www/index.html') .pipe(wiredep()) .pipe(gulp.dest('./www')); });

gulp.task('wire-app', function() { var target = gulp.src('./www/index.html'); var sources = gulp.src(['./www/js/*/.js', './www/resources/*/.css'], {read: false}); return target.pipe(inject(sources, {relative: true})).pipe(gulp.dest('./www')); });

gulp.task('wiredep', ['wire-vendor','wire-app']);

katemihalikova commented 8 years ago

Hi Steffan, could you provide more details on the isn't playing nice part? It is working fine for me with this setup:

var wiredep = require('wiredep');
gulp.task('bower', function() {
    return gulp.src('www/index.html')
        .pipe(wiredep.stream({devDependencies: true}))
        .pipe(gulp.dest('www/'));
});