Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
let build = gulp.series(
readProjectConfiguration,
gulp.parallel(
transpile,
processMarkup,
processJson,
processCSS,
copyFiles
),
writeBundles
);
let main;
if (CLIOptions.taskName() === 'build' && CLIOptions.hasFlag('watch')) {
main = gulp.series(
build,
(done) => { watch(); done(); }
);
} else {
main = build;
}
function readProjectConfiguration() {
return buildCLI.src(project);
}
function writeBundles() {
return buildCLI.dest();
}
let build = gulp.series(
readProjectConfiguration,
gulp.parallel(
transpile,
processMarkup,
processJson,
processCSS,
copyFiles
),
writeBundles
);
let main;
if (CLIOptions.taskName() === 'build' && CLIOptions.hasFlag('watch')) {
main = gulp.series(
build,
(done) => { watch(); done(); }
);
} else {
main = build;
}
function readProjectConfiguration() {
return buildCLI.src(project);
}
function writeBundles() {
return buildCLI.dest();
}
let build = gulp.series(
readProjectConfiguration,
gulp.parallel(
transpile,
processMarkup,
processJson,
processCSS,
copyFiles
),
writeBundles
);
let main;
if (CLIOptions.taskName() === 'build' && CLIOptions.hasFlag('watch')) {
main = gulp.series(
build,
(done) => { watch(); done(); }
);
} else {
main = build;
}
function readProjectConfiguration() {
return buildCLI.src(project);
}
function writeBundles() {
return buildCLI.dest();
}
setAppVer,
setConfigVer,
gulp.parallel(
transpile,
processMarkup,
processJson,
processCSS,
copyFiles
),
writeBundles,
pushFiles
);
let main;
if (CLIOptions.taskName() === 'build' && CLIOptions.hasFlag('watch')) {
main = gulp.series(
build,
(done) => { watch(); done(); }
);
} else {
main = build;
}
function readProjectConfiguration() {
return buildCLI.src(project);
}
function setConfigVer() {
return gulp.src('./config.xml')
.pipe(bump({version: pkg.version}))
.pipe(gulp.dest('./'))
import processMarkup from './process-markup';
import watch from './watch';
import * as project from '../aurelia.json';
let build = gulp.series(
readProjectConfiguration,
gulp.parallel(
transpile,
processMarkup
),
writeBundles
);
let main;
if (CLIOptions.taskName() === 'build' && CLIOptions.hasFlag('watch')) {
main = gulp.series(
build,
(done) => { watch(); done(); }
);
} else {
main = build;
}
function readProjectConfiguration() {
return buildCLI.src(project);
}
function writeBundles() {
return buildCLI.dest();
}
let build = gulp.series(
readProjectConfiguration,
gulp.parallel(
transpile,
processMarkup,
processJson,
processCSS,
copyFiles
),
writeBundles
);
let main;
if (CLIOptions.taskName() === 'build' && CLIOptions.hasFlag('watch')) {
main = gulp.series(
build,
(done) => { watch(); done(); }
);
} else {
main = build;
}
function readProjectConfiguration() {
return buildCLI.src(project);
}
function writeBundles() {
return buildCLI.dest();
}
import processMarkup from './process-markup';
import transpile from './transpile';
import watch from './watch';
const build: any = gulp.series(
readProjectConfiguration,
gulp.parallel(
transpile,
processMarkup,
processCSS,
copyFiles),
writeBundles);
let main: any;
if (CLIOptions.taskName() === 'build' && CLIOptions.hasFlag('watch')) {
main = gulp.series(
build,
(done: Function) => { watch(); done(); },
);
} else {
main = build;
}
function readProjectConfiguration(): any {
return buildCLI.src(project);
}
function writeBundles(): any {
return buildCLI.dest();
}
let build = gulp.series(
readProjectConfiguration,
gulp.parallel(
transpile,
processMarkup,
processCSS,
prepareFontAwesome,
copyFiles
),
writeBundles
);
let main;
if (CLIOptions.taskName() === 'build' && CLIOptions.hasFlag('watch')) {
main = gulp.series(
build,
(done) => { watch(); done(); }
);
} else {
main = build;
}
function readProjectConfiguration() {
return buildCLI.src(project);
}
function writeBundles() {
return buildCLI.dest();
}
import * as project from '../aurelia.json';
let build = gulp.series(
readProjectConfiguration,
gulp.parallel(
transpile,
processMarkup,
processCSS,
copyFiles
),
writeBundles
);
let main;
if (CLIOptions.taskName() === 'build' && CLIOptions.hasFlag('watch')) {
main = gulp.series(
build,
(done) => { watch(); done(); }
);
} else {
main = build;
}
function readProjectConfiguration() {
return buildCLI.src(project);
}
function writeBundles() {
return buildCLI.dest();
}
import * as project from '../aurelia.json';
let build = gulp.series(
readProjectConfiguration,
gulp.parallel(
transpile,
processMarkup,
processCSS,
copyFiles
),
writeBundles
);
let main;
if (CLIOptions.taskName() === 'build' && CLIOptions.hasFlag('watch')) {
main = gulp.series(
build,
(done) => { watch(); done(); }
);
} else {
main = build;
}
function readProjectConfiguration() {
return buildCLI.src(project);
}
function writeBundles() {
return buildCLI.dest();
}