gulp-emu
is a gulp plugin for building ecmarkup specifications.
npm install gulp-emu
NOTE:
gulp-emu
requires NodeJS 4.0 or greater.
var emu = require("gulp-emu");
gulp.task("build", () => gulp.src("spec.html")
.pipe(emu(options))
.pipe(gulp.dest("out")));
gulp-emu
has the following options:
-
biblio
<boolean
> - Indicates whether to include{basename}.biblio.json
in the output stream. -
css
<boolean
> - Indicates whether to includeelements.css
in the output stream. -
js
<boolean
> - Indicates whether to includemenu.js
andfindLocalReferences.js
in the output stream. -
ecmarkup
options