0.1.2 • Published 2 years ago

@pkg-tools/pkg-tools v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@pkg-tools/clean

A CLI for cleaning packages build artifacts.

This CLI is a thin abstraction on top of ShellJs. It centralizes our usage of ShellJS's rm command.

Install

# w/ pnpm
pnpm add -D @pkg-tools/clean

# w/ yarn
yarn add -D @pkg-tools/clean

# w/ npm
npm install -D @pkg-tools/clean

Usage

"scripts": {
  "clean": "clean"
}

By default clean removes the ./dist directory. If you need to clean a different directory provide a relative path to it as an argument e.g.,

"scripts": {
  "clean": "clean ./lib"
}

Using your package manager, you can now run the build script to clean your package's ./dist directory.

0.1.2

2 years ago

0.1.0

2 years ago

0.1.1

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago