Skip to content

kevily/task-flow

Repository files navigation

task-flow

Install

yarn 1k-tasks -D

OR

npm install 1k-tasks -D

OR

pnpm install 1k-tasks -D

Use

import {Engine, ...tasks} from '1k-tasks'
const task = new Engine(<config>)
// registry
task.registry([name], [task])
// run
task.run(<config>)
// ...

Use in scripts.

  • root: process.cwd()
  • inputDir: src
  • run scripts: task -h
Options:
  --createCz  crate cz config
  --ts        Use tsc to build(js,ts)
  --eslint    Use eslint
  --stylelint    Use stylelint
  -h, --help  display help for command

About

A package for quickly building Web tasks

Resources

License

Stars

Watchers

Forks

Packages

No packages published