npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

smash-middleware-clean

0.0.1 • Public • Published

smash-middleware-clean

A directory cleaner middleware for smash-cli.

使用

.smash/task.yml 文件中加入以下配置:

clean:
  name: smash-middleware-clean
    dirs: 
      - ./dist
      - ./build

然后,执行以下命令来运行 clean 任务:

$ smash run clean

上面的 clean 任务会删除当前工作目录下的 distbuild 目录。

链接

install

npm i smash-middleware-clean

Downloadsweekly downloads

4

version

0.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability