1
0
mirror of https://github.com/jiahaog/Nativefier synced 2024-07-05 09:00:55 +02:00
Nativefier/gulp/test.js
2016-02-28 00:45:44 +08:00

14 lines
304 B
JavaScript

import gulp from 'gulp';
import runSequence from 'run-sequence';
import helpers from './helpers/gulp-helpers';
const {shellExec} = helpers;
gulp.task('prune', done => {
shellExec('npm prune', true, done);
});
gulp.task('test', callback => {
return runSequence('prune', 'mocha', callback);
});