@b08/generator-tasks

gulp tasks for generator-seed

Usage no npm install needed!

<script type="module">
  import b08GeneratorTasks from 'https://cdn.skypack.dev/@b08/generator-tasks';
</script>

README

@b08/generator-tasks

Tasks extracted from @b08/generator-seed

main tasks

build - builds and lints.
partialTest - task for partial generators, not generating anything on their own. Does not include test data manipulation.
test - builds, tests, collects coverage and metrics. In the process of testing, clears testData folder, copies files over from testDataSrc folder, runs generateTestData.spec.ts file to run the generator against test data and builds produced files for tests to access.

publishAndTag - task used while releasing a version.

known issues

nyc@15 beta is used so far.
nyc@13 has audit issues and only works in linux
nyc@14 does not work in this project, issue: https://github.com/istanbuljs/nyc/issues/1210