1.0.0 • Published 8 months ago
@dopt/pkg-clean v1.0.0
@dopt/pkg-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 @dopt/pkg-clean
# w/ yarn
yarn add -D @dopt/pkg-clean
# w/ npm
npm install -D @dopt/pkg-clean
Usage
"scripts": {
"clean": "pkg-clean"
}
Using your package manager, you can now run the build script to clean your package's ./dist
directory.