build - remove deprecated deps task
This commit is contained in:
parent
98f2400649
commit
91e8ea205e
12
gulpfile.js
12
gulpfile.js
|
@ -162,18 +162,6 @@ gulp.task('copy:watch', function(){
|
||||||
gulp.watch(['./app/{_locales,images}/*', './app/scripts/chromereload.js', './app/*.{html,json}'], gulp.series('copy'))
|
gulp.watch(['./app/{_locales,images}/*', './app/scripts/chromereload.js', './app/*.{html,json}'], gulp.series('copy'))
|
||||||
})
|
})
|
||||||
|
|
||||||
// record deps
|
|
||||||
|
|
||||||
gulp.task('deps', function (cb) {
|
|
||||||
exec('npm ls', (err, stdoutOutput, stderrOutput) => {
|
|
||||||
if (err) return cb(err)
|
|
||||||
const browsers = ['firefox','chrome','edge','opera']
|
|
||||||
asyncEach(browsers, (target, done) => {
|
|
||||||
fs.writeFile(`./dist/${target}/deps.txt`, stdoutOutput, done)
|
|
||||||
}, cb)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
|
|
||||||
// lint js
|
// lint js
|
||||||
|
|
||||||
gulp.task('lint', function () {
|
gulp.task('lint', function () {
|
||||||
|
|
Loading…
Reference in New Issue