import gulp from "gulp"; import { task } from "gulp-execa"; import { deleteAsync } from "del"; gulp.task("clean", function cleanTask() { return deleteAsync([ "build/**", "definitions/**", ], { force: true }); }); gulp.task("build", gulp.series("clean", task("tsc -p src"))); gulp.task("lint", task("eslint src")); gulp.task("test", task("tsx --test --test-concurrency=1 --test-reporter=spec src/test/*.ts")); gulp.task("spell", task("cspell --no-progress")); gulp.task("type-coverage", task("type-coverage --detail")); gulp.task("default", gulp.series("spell", "type-coverage", "lint", "build", "test"));