migrating dependencies from bower to npm

This commit is contained in:
Mike Ng
2018-01-16 09:42:29 +04:00
parent 06413e9f9c
commit 431d9dc46a
32 changed files with 14197 additions and 136 deletions

View File

@@ -4,18 +4,18 @@ var utils = require('../../utils.js');
gulp.task('build-jquery-mobile-css', function(){
return utils.buildCssGroup([
config.paths.vendors + 'jquery-mobile-bower/css/jquery.mobile-1.3.2.css'
config.paths.nodes + 'jquery-mobile/css/themes/default/jquery.mobile.css'
], 'jquery-mobile', 'vendors/jquery-mobile');
});
gulp.task('build-jquery-mobile-js', function(){
return utils.buildJsGroup([
config.paths.vendors + 'jquery-mobile-bower/js/jquery.mobile-1.3.2.js'
config.paths.nodes + 'jquery-mobile/js/jquery.mobile.js'
], 'jquery-mobile', 'vendors/jquery-mobile');
});
gulp.task('build-jquery-mobile', ['build-jquery-mobile-js', 'build-jquery-mobile-css'], function(){
// copy jquery mobile assets
return gulp.src(config.paths.vendors + 'jquery-mobile-bower/css/images/**/*')
return gulp.src(config.paths.nodes + 'jquery-mobile-bower/css/themes/default/images/**/*')
.pipe(gulp.dest( config.paths.build + 'vendors/jquery-mobile/images'));
});