@@ -34,7 +34,6 @@ function run(bin, args, done) {
3434 ps . on ( 'close' , ( ) => done ( ) ) ;
3535}
3636
37- gulp . task ( 'bower' , bowerTask ) ;
3837gulp . task ( 'build' , gulp . series ( rollupTask , copyDistFilesTask ) ) ;
3938gulp . task ( 'package' , packageTask ) ;
4039gulp . task ( 'bump' , bumpTask ) ;
@@ -46,24 +45,6 @@ gulp.task('test', gulp.parallel('lint', 'unittest'));
4645gulp . task ( 'watch' , watchTask ) ;
4746gulp . task ( 'default' , gulp . parallel ( 'lint' , 'build' , 'watch' ) ) ;
4847
49- /**
50- * Generates the bower.json manifest file which will be pushed along release tags.
51- * Specs: https://github.com/bower/spec/blob/master/json.md
52- */
53- function bowerTask ( ) {
54- var json = JSON . stringify ( {
55- name : pkg . name ,
56- description : pkg . description ,
57- homepage : pkg . homepage ,
58- license : pkg . license ,
59- version : pkg . version ,
60- main : outDir + pkg . name + '.js'
61- } , null , 2 ) ;
62-
63- return file ( 'bower.json' , json , { src : true } )
64- . pipe ( gulp . dest ( './' ) ) ;
65- }
66-
6748function rollupTask ( done ) {
6849 run ( 'rollup/dist/bin/rollup' , [ '-c' ] , done ) ;
6950}
0 commit comments